Strange Time Value In Dat


raining010

Recommended Posts

Hi, Mr Guru

 

Can I do some set, that make saved alarm time be window time, not the unix time? In alarm.dat, the time format is unix, could it save as 201310101400, some thing like this? Because this is easy for me and customer to read, at present, we don't have other softwares to convert unix time. We only open it by text, or word, or excel.

 

Thanks

Link to comment
Share on other sites

I tested, but failed today.

The time in alarms.dat is - 1381140370.300

I used - File.Write(W_Handle,FormatDateTime("%c",Parse(F_line,0,",")))

and - File.Write(W_Handle,FormatDateTime("%x",Parse(F_line,0,",")))

They all didn't work, the result is 0

 

And I opened log.csv by then,

the time in log.csv is - 41559.61301

I used - File.Write(W_Handle,FormatDateTime("%c",Parse(F_line,0,",")))

Failed again, the result is 0

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.