Hi all,
I am new in Perl and I would like to convert timestamp taken from PostgreSQL database to Date in format YYYY/mm/dd HH:MM:ss.
The problem is that the timestamp has 13 digit instead of 10?
I tried:
my $epoch = 1260439520772;
my $date = strftime '%Y/%m/%d %H:%M:%S', localtime $epoch;