Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ Language Reference - dos_gettime http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                               dos_gettime

   Usage
   #include <dos.h>
   void dos_gettime(struct dos_time_t *time);

   Description
   Obtains  the current system time via a call to DOS function 0x2c  (44)
   and places it in the structure pointed to by time. The format of  this
   structure is as follows:
   struct dos_time_t
   {
   charhour;
   /* hours (0-23) */
   charminute
   /* minutes (0-59) */
   charsecond;
   /* seconds (0-59) */
   charhsecond;
   /* hundredths of a second (0-99) */
    }
   Example
   see dos_settime


See Also: DOS_Package dos_settime dos_setdate dos_getdate

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