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++ 3.0r4 - <b>dos_gettime</b> 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
   {
       char    hour;           /* hours (0-23)     */
       char    minute      /* minutes (0-59)       */
       char    second;     /* seconds (0-59)   */

       char    hsecond;        /* seconds/100 (0-99)*/
   }

Example 

   See dos_settime

See Also

   DOS package, dos_settime, dos_setdate, dos_getdate



See Also: dos_settime dos_setdate dos_getdate

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