View Full Version : timeformat in search.log ioA
hi
im a first time user on this board
does anyone know what timeformat ioA writes in search.log? can it be converted to a normal format? or can you make ioA write a more normal timeformat directly?
/aze
:D
neoxed
10-16-2004, 06:19 PM
What exactly is a "normal timeformat"?
instead of 127398290029843750, i want for exempel 2004-10-17
/ace
neoxed
10-16-2004, 06:54 PM
My guess is that ioA uses the 64bit value from a FILETIME structure (high << 32 | low), which would be the time in 100ns intervals since Jan. 1, 1601. In my opinion, this is a hell of a lot more accurate and much easier to work with then "2004-10-17".
Though only WarC can confirm this, I'm just guessing. :p
im sure its mure accurate, but i just want a more easy looking time format, for putting on a webpage. any idé on how to convert it ? i mean with some kind of script or something ? or when importing the log to a mysql database ?
/ace
Once again you are correct NeoXed :)
Timeformat is exacly that and to my knowledge there must be several functions on converting it to a "readable" format with for instance php or tcl or whatever wanted.
neoxed
10-18-2004, 07:41 PM
;)
aze, what language(s) are you working with for this? If necessary, I could provide you with an example.
neoxed
10-20-2004, 09:34 AM
I meant programming language... :rolleyes:
oh , sorry :)
asp or vbscript
/aze
vBulletin® v3.8.11 Alpha 3, Copyright ©2000-2025, vBulletin Solutions, Inc.