|
From: Petar Popara on 4 Jul 2005 03:00 I need some class that handles date and time and also support miliseconds. Am I limited to Windows FILE_TIME structure?
From: Bill Thompson on 4 Jul 2005 05:26 "Petar Popara" <my.fake(a)mail.net> wrote in message news:uR26sWGgFHA.1044(a)tk2msftngp13.phx.gbl... > > I need some class that handles date and time and also support miliseconds. > Am I limited to Windows FILE_TIME structure? > > Pasted from the help: asctime, _wasctime: Convert time from type struct tm to character string clock: Return elapsed CPU time for process ctime, _wctime: Convert time from type time_t to character string difftime: Compute difference between two times _ftime: Store current system time in variable of type struct _timeb _futime: Set modification time on open file gmtime: Convert time from type time_t to struct tm localtime: Convert time from type time_t to struct tm with local correction mktime: Convert time to calendar value _strdate, _wstrdate: Return current system date as string strftime, wcsftime: Format date-and-time string for international use _strtime, _wstrtime: Return current system time as string time: Get current system time as type time_t _tzset: Set external time variables from environment time variable TZ _utime, _wutime: Set modification time for specified file using either current time or time value stored in structure Additionally, according to the CTime MFC documentation, the constructors can use either SYSTEMTIME or FILETYME structures, although a quick perusal didn't make it clear what happens to the fractional second data.
|
Pages: 1 Prev: cannot register ocx Next: CFile::GetLength error in processing HUGE file. |