Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/blackberry/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
linux中的时间戳转换_Linux_Centos_Timestamp_Centos7_Unix Timestamp - Fatal编程技术网

linux中的时间戳转换

linux中的时间戳转换,linux,centos,timestamp,centos7,unix-timestamp,Linux,Centos,Timestamp,Centos7,Unix Timestamp,我的日期是1231533845 我知道应该是2009年东部时间1月9日星期五15:44:05 在OSX上,它可以通过以下方式解码: 日期-j-f%s 1231533845 linux上的等效命令是什么?您将使用date函数,但带有选项-d date-d@1231533845尝试了一切购买@。非常感谢。

我的日期是1231533845

我知道应该是2009年东部时间1月9日星期五15:44:05

在OSX上,它可以通过以下方式解码: 日期-j-f%s 1231533845


linux上的等效命令是什么?

您将使用date函数,但带有选项-d
date-d@1231533845

尝试了一切购买@。非常感谢。