If i use GetFileTime to get the file times of a file, how do i turn the FIleTimes into a readable date?
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.
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.
I hope this will help you:
:alright:
.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: