Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Borland C++ 2.x ( with Turbo C ) - <b>gettime() get system time</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 gettime()               Get System Time

 #include   <dos.h>

 void         gettime(timep);
 struct time  *timep;                    Pointer to structure

    gettime() gets the system's current time and fills in the 'time'
    structure pointed to by 'timep'.  The 'time' structure is defined as:

          struct time  {
               unsigned char ti_min;         /* Minutes */
               unsigned char ti_hour;        /* Hours */
               unsigned char ti_hund;        /* Hundredths of seconds */
               unsigned char ti_sec;         /* Seconds */
          };

       Returns:     Nothing

   Portability:     MS-DOS only.


See Also: getdate() setdate() settime()

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