1
This commit is contained in:
parent
b9c7e05031
commit
db5e615704
@ -19,6 +19,10 @@ func GetDaySeconds(seconds int64, timeZone int64) int64 {
|
||||
return ((seconds+timeZone*3600)/3600/24)*3600*24 - 3600*timeZone
|
||||
}
|
||||
|
||||
func GetYesterDaySeconds(seconds int64, timeZone int64) int64 {
|
||||
return ((seconds+timeZone*3600)/3600/24)*3600*24 - 3600*timeZone
|
||||
}
|
||||
|
||||
func GetTickCount() int64 {
|
||||
return time.Now().UnixNano() / 1e6
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user