perl 输出当前时间

#!/bin/perl
use POSIX;
print strftime("%Y-%m-%d %H:%M:%S", localtime);

posted @ 2019-06-18 18:24  kissrule  阅读(853)  评论(0)    收藏  举报