This commit is contained in:
oneao committed 2025-11-20 17:30:28 +08:00
1 parent 63b168affc
commit 069b4506e4
29 files changed
+1077 -1116

No files matched your search

@@ -7,8 +7,8 @@ func NowTime() time.Time {
return time.Now()
}
// NowString 返回当前时间的字符串格式:YYYY-MM-DD HH:mm:ss
func NowString() string {
// DateTimeString 返回当前时间的字符串格式:YYYY-MM-DD HH:mm:ss
func DateTimeString() string {
return time.Now().Format("2006-01-02 15:04:05")
}