Skip to content

traits.Function.debugTimeFlag

github-actions[bot] edited this page Jun 8, 2026 · 1 revision

@zenstone/ts-utils / traits / debugTimeFlag

Function: debugTimeFlag()

debugTimeFlag(date?): string

Defined in: src/traits/debuggable.ts:8

生成当前时间的调试时间戳字符串,格式为 HH:MM:SS.mmm

Parameters

date?

Date | null

指定日期,默认使用 new Date()

Returns

string

Clone this wiki locally