I've imported your subroutine into my code... However, I'm
not getting the what I think I should. If I've got it right,
your routine should return the unix time in epoch seconds.
However, doing a "gdate '+%s'" on my system shows the
epoch seconds = 1045700265... a bit different to what
the routine returns (see below). In my case, perhaps the
unpack format of the low_long and high_long paramenters
in the routine require a little alteration?
BTW, reversing the order of $high and $low into &quad_to_epoch
didn't help...
print "$low $high ", &quad_to_epoch("$low $high"), "\n";
low high &quad_to_epoch
2038398976 10599419 408804118300
2238398976 10599419 408804118300
2438398976 10599419 408804118300
2638398976 10599419 408804118300
2838398976 10599419 408804118300
3038398976 10599419 408804118300
3238398976 10599419 408804118300
3438398976 10599419 408804118300
3638398976 10599419 408804118300
Regards, Stacy. | [reply] [Watch: Dir/Any] [d/l] [select] |
| [reply] [Watch: Dir/Any] [d/l] |