Files

10 lines
204 B
Go
Raw Normal View History

package utils
import "testing"
func TestDiffTimeDays(t *testing.T) {
time1 := DateTimeToTime("2022-05-06 23:59:59")
time2 := DateTimeToTime("2022-05-04 01:59:59")
t.Log(DiffTimeDays(time1, time2))
}