golang
获取字符串时间
1 | start_time :=time.Now().Format("2006-01-02 15:04:05") |
时间差计算
1 | start_time :=time.Now() |
java
1 | Calendar c = Calendar.getInstance(); |
获取字符串时间
1 | start_time :=time.Now().Format("2006-01-02 15:04:05") |
时间差计算
1 | start_time :=time.Now() |
1 | Calendar c = Calendar.getInstance(); |