You are here: Re: win32 filetime conversion « PHP Programming Language « IT news, forums, messages
Re: win32 filetime conversion

Posted by SquishedOrange on 11/26/06 20:44

Yeah,
But the only way I can think of doing it is messy.

Use strtotime() to get the Linux timestamp for a date (seconds since
January 1 1970 00:00:00 GMT), then add quite large interger to get it
to the number of seconds since January 1, 1601. Then you need to
multiply this by some factor of 10 to get into 100-nanosecond
intervals.

Sorry, Can't be bothered to do it for you ;)

Btw, strptime() is nicer, but is only php5+

Not sure what your doing with the reverse bit though..

 

Navigation:

[Reply to this 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

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