flat assembler
Message board for the users of flat assembler.
 Home   FAQ   Search   Register 
 Profile   Log in to check your private messages   Log in 
flat assembler > DOS > File modification date

Author
Thread Post new topic Reply to topic
tomo7999



Joined: 22 Apr 2015
Posts: 2
File modification date
Hello.

I am having some trouble with getting file last modification date/time.

So I got my DTA which looks like this:


Code:
DTA     db      21      dup     (0)                     ; DTA table
fattr   db      0                                       ; file attr
fmod_time       dw      0                               ; last modification time
fmod_date       dw      0                               ; last modification date
fsize   dd      0                                       ; file size
fname   db      13      dup     (0),"$"                 ; file name



So, my question is:
How do I convert numbers from fmod_time and fmod_date to time and date so I can print it out?

Thanks for help.
Post 22 Apr 2015, 12:16
View user's profile Send private message Reply with quote
AsmGuru62



Joined: 28 Jan 2004
Posts: 1382
Location: Toronto, Canada
Post 22 Apr 2015, 15:13
View user's profile Send private message Send e-mail Reply with quote
tomo7999



Joined: 22 Apr 2015
Posts: 2
Thanks for helping.

That solved my problem Smile
Post 22 Apr 2015, 17:19
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >

Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2005 phpBB Group.

Main index   Download   Documentation   Examples   Message board
Copyright © 2004-2016, Tomasz Grysztar.