Go Back   FlashFXP Forums > > > >

WarC's scripts ioA, Warchive, ZR-Tools

Reply
 
Thread Tools Rate Thread Display Modes
Old 10-16-2004, 04:58 PM   #1
aze
Junior Member
 
Join Date: Oct 2004
Posts: 5
Question 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

aze is offline   Reply With Quote
Old 10-16-2004, 06:19 PM   #2
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

What exactly is a "normal timeformat"?
neoxed is offline   Reply With Quote
Old 10-16-2004, 06:27 PM   #3
aze
Junior Member
 
Join Date: Oct 2004
Posts: 5
Default

instead of 127398290029843750, i want for exempel 2004-10-17

/ace
aze is offline   Reply With Quote
Old 10-16-2004, 06:54 PM   #4
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

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.
neoxed is offline   Reply With Quote
Old 10-16-2004, 07:13 PM   #5
aze
Junior Member
 
Join Date: Oct 2004
Posts: 5
Default

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
aze is offline   Reply With Quote
Old 10-18-2004, 05:11 PM   #6
WarC
Senior Member
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 426
Default

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.
WarC is offline   Reply With Quote
Old 10-18-2004, 07:41 PM   #7
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default



aze, what language(s) are you working with for this? If necessary, I could provide you with an example.
neoxed is offline   Reply With Quote
Old 10-20-2004, 03:53 AM   #8
aze
Junior Member
 
Join Date: Oct 2004
Posts: 5
Default

swedish language

/aze
aze is offline   Reply With Quote
Old 10-20-2004, 09:34 AM   #9
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

I meant programming language...
neoxed is offline   Reply With Quote
Old 10-20-2004, 11:34 AM   #10
aze
Junior Member
 
Join Date: Oct 2004
Posts: 5
Default

oh , sorry

asp or vbscript

/aze
aze is offline   Reply With Quote
Reply

Tags
format, ioa, normal, search.log, timeformat

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 10:01 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)