◄Summary► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back► ─────Run-Time Library─────────────────────────────────────────────────────── The _ftime function gets the current time and stores it in the structure pointed to by <timeptr>. The _timeb structure is defined in SYS\TIMEB.H. It contains four fields (dstflag, millitm, time, and timezone), which have the following values: Field Value dstflag Nonzero if daylight saving time is currently in effect for the local time zone. (See _tzset for an explanation of how daylight saving time is determined.) millitm Fraction of a second in milliseconds. The last digit is always zero, as millitm is incremented to the nearest one-hundredth of a second. time The time in seconds since midnight (00:00:00), December 31, 1899, Universal Coordinated Time. timezone The difference in minutes, moving westward, between Universal Coordinated Time and local time. The value of timezone is set from the value of the global variable _timezone (see _tzset). Return Value The _ftime function gives values to the fields in the structure pointed to by <timeptr>. It does not return a value. -♦-