Help for this page
use POSIX qw( strftime ); my $ref = [ 0 .. 2 ]; ... printf("%X\n", 0+$ref); print(strftime('%Y-%m-%d %H:%M:%S', localtime($ref)), "\n"); print(strftime('%Y-%m-%d %H:%M:%S', localtime(0+$ref)), "\n");
ARRAY(0x225248) 225248 1970-01-26 19:48:08 1970-01-26 19:48:08