in reply to How to convert 13 digits Epoch to Date

Presumably, the last three digits are msecs. Try simply cutting them off (divide by 1000):

use POSIX; my $epoch = 1260439520772; my $date = strftime '%Y/%m/%d %H:%M:%S', localtime $epoch/1000; print "date=$date\n"; __END__ date=2009/12/10 11:05:20

Replies are listed 'Best First'.
Re^2: How to convert 13 digits Epoch to Date
by kiluch (Novice) on Jan 12, 2010 at 15:43 UTC

    Thanks very much.

    It seems to be working fine.

    Really appreciate.