English
Tiếng Việt
繁体中文
简体中文
使用過的名稱
GetServerTime
首頁
教學中心
Craftland Mobile
Getting Started
Craftland PC
UserManual
免責聲明
更新日誌
檔案中心
創作者中心
參考資料
/
API
/
STD 庫
獲取伺服器時間戳
STD 庫
點擊標籤以進入相應模組的詳細頁面
伺服器端
此 API 只能在其所屬的一側使用
可在 Mobile 端和 PC 端使用
此 API 只能在相應的平台上使用
取得伺服器時間戳
聲明
func
GetServerTimestamp
()
int
go
參數
返回
類型
描述
Int
傳回1970年1月1日0時0分0秒開始的秒數