How To Get a Formatted Date in Perl
erics, Posted July 8th, 2020 at 3:10:07pm
1 2 3 |
use POSIX qw(strftime); my $stamp = strftime "%Y%m%d%H%M%S", localtime; my $stamp = strftime "%Y%m%d%H%M%S", gmtime; |
Leave Your Comment
All fields marked with "*" are required.