package
Version:
v0.0.9
Opens a new window with list of versions in this module.
Published: Nov 22, 2023
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Parse
@Description: 字符串转换为时间
@param valueStr 时间
@param formatStr 格式化串 可以是yyyy/MM/dd HH:mm:ss 或者 yyyy-MM-dd HH:mm:ss:fff等
@return time.Time
@return error
ToNumber
@Description: 将时间字符串转为数值形式,如20230101
@return uint64
@return error
ToString
@Description: 转化为字符串
@param value 时间
@param formatStr 格式化串 可以是yyyy/MM/dd HH:mm:ss 或者 yyyy-MM-dd HH:mm:ss:fff等
@return string
Source Files
¶
Click to show internal directories.
Click to hide internal directories.