| www.delorie.com/djgpp/doc/libc-2.01/libc_351.html | search |
#include <dos.h> void gettime(struct time *);
This function gets the current time. The return structure is as follows:
struct time {
unsigned char ti_min;
unsigned char ti_hour;
unsigned char ti_hund;
unsigned char ti_sec;
};
See section settime. See section getdate.
None.
struct time t; gettime(&t);
Go to the first, previous, next, last section, table of contents.
| prev next webmaster | delorie software privacy |
| Copyright © 1997 | Updated Apr 1997 |