Reply to Re: [PHP] How to handle a 64bit FILETIME?

Your name:

Reply:


Posted by Jochem Maas on 03/03/05 15:04

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
>

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация