Variable DateUtilsConst

DateUtils: {
    formatSecond: ((time, formart?) => string);
} = ...

Type declaration

  • formatSecond: ((time, formart?) => string)
      • (time, formart?): string
      • 秒数转换成 时:分钟:秒

        Parameters

        • time: string | number
        • Optional formart: string

          间隔符, 例 ":" | "-" | 时分秒

        Returns string

Generated using TypeDoc