本文共 290 字,大约阅读时间需要 1 分钟。
perl 获取目录时间
In Perl, how to get the , the number of seconds passed since the epoch?
在Perl中 ,如何获取 ,即自新纪元以来经过的秒数?
In Perl, to get the epoch time, call the function:
在Perl中 ,要获取纪元时间,请调用函数:
my $ts = time
Example:
例:
$ perl -e ' time . "n"'1491473202
翻译自:
perl 获取目录时间
转载地址:http://yqowd.baihongyu.com/