Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- DOS 5.0 Ref. - <b>function 5700h get file date and time</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Function 5700h          Get File Date and Time

    Returns the time and date a file was last modified (the last time
    its directory entry was updated).

        Entry   AX = 5700h
                BX = File handle

        Return  CX = Time
                DX = Date
                or
                AX = Error code, if CF is set
                     | 06h Invalid handle

    ------------------------------------------------------------------

    The values in CX and DX have the following format:

                Bits    Contents
        CX      0-4     Seconds divided by 2
                5-10    Minutes (0-59)
                11-15   Hours (0-23 on a 24-hour clock)

        DX      0-4     Day of month (1-31)
                5-8     Month (1 = January, 2 = February, etc.)
                9-15    Year offset from 1980
                        (add 1980 to get actual year)

See Also: 5701h

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson