Re: CDateTime & miliseconds



"Petar Popara" <my.fake@xxxxxxxx> wrote in message
news:uR26sWGgFHA.1044@xxxxxxxxxxxxxxxxxxxxxxx
>
> 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.


.



Relevant Pages

  • Re: how to store list of varying types
    ... When there's a variable-length string, ... typedef struct { ... pointer null, and the second one the CString object. ... then have to finish constructing the packet by copying the two data objects ...
    (microsoft.public.vc.mfc)
  • Re: MVC in C++
    ... Things are now flowing more along the classic MVC lines. ... > struct Observable ... > string version; ... In that case the Controller would trigger a model update *and it* could ...
    (comp.object)
  • A note on personal corruption as a result of using C
    ... Many people in this ng are personally corrupt and use this ng to take ... "A string cannot contain Nuls" Yes it can. ... "A struct is a class" No, ... It appears that no C maven has read a history of mathematics. ...
    (comp.programming)
  • Re: Client - server application C++ - C#
    ... The key word is serialization. ... to XML or to string buffer. ... struct user ...
    (microsoft.public.win32.programmer.networks)
  • Re: Help with structure->char_string
    ... int freadpng(struct png_file * image) ... type char *. ... This will also invoke undefined behavior whenever ... you specified that you are printing a string in the format ...
    (comp.lang.c)