How ca I get the local time modification of a file with File::stat in perl?

后端 未结 0 942
执念已碎
执念已碎 2020-11-30 21:04

How can I get the file modification time formatted in local time?

By doing this:

use File::stat;
use Time::Piece;

my $format = \'%Y%m%d%H%M\';

print          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题