import time
time.time()
// pure php
time()
// Carbon\Carbon
Carbon::now()->timestamp
// pure java
(int) (System.currentTimeMillis() / 1000)
// joda
(int) (DateTime.now().getMillis() / 1000)
Math.round(new Date() / 1000)
import (
"time"
)
int32(time.Now().Unix())
NSDate().timeIntervalSince1970
[[NSDate date] timeIntervalSince1970]
Time.now.to_i
date +%s
SELECT unix_timestamp(now())
SELECT strftime('%s', 'now')
calendar:datetime_to_gregorian_seconds(calendar:universal_time())-719528*24*3600.
(DateTime.Now.ToUniversalTime().Ticks - 621355968000000000) / 10000000
(new Date().time / 1000).intValue()
os.time()
viencoding.com版权所有,允许转载,但转载请注明出处和原文链接: https://viencoding.com/article/126