in reply to Goofy Date and Time Think
It looks like your dealing with Microsoft FILETIME stamps in nanoseconds since 1/1/1601.
If you pass the hi and lo parts into the following sub it will return a unix-style timestamp in seconds.
sub filetimeToUnix{ my ( $hi, $lo ) = @_; my $nanosecs = $hi * 2**32 + $lo; return int( ($nanosecs - 116444736010000000) / 1E7 ); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Goofy Date and Time Think
by nanojack (Initiate) on Dec 21, 2005 at 20:25 UTC | |
by BrowserUk (Patriarch) on Dec 21, 2005 at 21:46 UTC | |
by nanojack (Initiate) on Dec 21, 2005 at 21:54 UTC | |
|
Re^2: Goofy Date and Time Think
by nanojack (Initiate) on Dec 21, 2005 at 20:16 UTC |