Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
@SetTime Macro
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Include:   DOS.INC
 
  Syntax:    @SetTime hour,minute,second,hundredth
 
  Summary:   Sets the system time
 
  Arguments: <hour>          8-bit hours (0-23)
 
             <minute>        8-bit minutes (0-59)
 
             <second>        8-bit seconds (0-59)
 
             <hundredth>     8-bit hundredth of seconds (0-99)
 
  Returns:   AL     If time was valid 0, else -1
 
  Modifies:  AX, CX, DX
 
  See also:  Int 21h Function 2Dh, @SetDate, @GetTime
                                    -♦-