If i use GetFileTime to get the file times of a file, how do i turn the FIleTimes into a readable date?
Posted on 2001-10-05 13:35:04 by ChimpFace9000
Hi !
FileTimeToSystemTime, i guess...

There's an example in C, too...

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/time_8cdh.asp

Cya.
Read.
Posted on 2001-10-05 14:01:21 by JCP
I hope this will help you:



.data
ftm FILETIME<>
stm SYSTEMTIME<>
dateformat db "dddd d MMMMM yyyy",0
buffer db 100 dup (0)

.code
invoke FileTimeToSystemTime, addr ftm, addr stm
invoke GetDateFormat, LOCALE_USER_DEFAULT, NULL, addr stm,\
addr dateformat, addr buffer, sizeof buffer
invoke MessageBox, 0, addr buffer, NULL, MB_OK


:alright:
Posted on 2001-10-05 17:02:33 by savage