You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package utils
|
|
|
|
import "time"
|
|
|
|
func GetNowTime() string {
|
|
t := time.Now().Format("2006-01-02 15:04:05")
|
|
return t
|
|
}
|
|
|
|
func GetNowDate() string {
|
|
t := time.Now().Format("2006-01-02")
|
|
return t
|
|
}
|