Tom Cannaerts wrote:
Hello,
I'm processing a binary file, and in that file there is a 64bit FILETIME
value. This value represents the number of 100-nanoseconds since 1/1/1601.
I would like to convert it to a somewhat more usable value, since I
eventually will need to display that value as a human readable date.
the BC maths extension may be what you want (in order to convert the
64bit 'number'** to something you can use with date functions)
http://nl2.php.net/manual/en/ref.bc.php
** your 64bit FILETIME 'number' should be passed to the relevant bc_*() funcs
as a string
Any solution is welcome.
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php