Help for this page

Select Code to Download


  1. or download this
    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");
    
  2. or download this
    ARRAY(0x225248)
    225248
    1970-01-26 19:48:08
    1970-01-26 19:48:08