转换时间戳相关
timestampToStandardTime(t,p)
t
时间戳
是
p
转换格式 (格式为"yyyy-MM-dd HH:mm:ss")
标准时间
成功
null
失败
示例代码:获取本机时间的时间戳然后转换成标准时间
logd("当前标准时间:",timestampToStandardTime(getCurrentTimestamp,"yyyy-MM-dd HH:mm:ss")
说明:无
最后更新于2年前
这有帮助吗?