flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
SFeLi 24 Jul 2008, 11:33
Code: dd %t |
|||
![]() |
|
zhak 24 Jul 2008, 20:53
thanks, SFeLi. But I figured out that this doesn't work in my case. It seems that standard time/date stamp (used in PE headers, for example) and time/date format used by FAT are not the same. For example,
a file was created on 24.07.08 20:36 GMT (plus/minus some seconds, it's not critical). %t command outputs 4888E7B6 time/date stamp but date and time of last write in FAT Directory Entry is written as 38F8BC83h. These values not even close to each other... *went to do some research on the subj.... maybe i'd be able to write some macro that will convert one timestamp to another (bad for me that I'm absolute zero in macro writing:( ) |
|||
![]() |
|
ManOfSteel 25 Jul 2008, 07:03
F838 is MS-DOS date for 7/24/2008
11100 = 28 (1980 + 28 = 2008) 0111 = 7 11000 = 24 83BC is MS-DOS time for 11:36:06 PM 10111 = 23 100100 = 36 00011 = 3 (6 / 2 = 3) ---- B6E78848 is ANSI C "time_t" for 7/24/2008 10:36:06 PM |
|||
![]() |
|
zhak 25 Jul 2008, 10:24
TRUE! i already know both time/date formats. Now I'm trying to convert one to another. anyway, thanks )
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.