CTime Members
Construction
Constructs CTime objects in various ways. |
|
Creates a CTime object that represents the current time (static member function). |
Extraction
Returns the day represent by the CTime object. |
|
Returns the day of the week represented by the CTime object. |
|
Returns the hour represented by the CTime object. |
|
Returns the minute represented by the CTime object. |
|
Returns the month represented by the CTime object. |
|
Returns the second represented by the CTime object. |
|
Returns a __time64_t value for the given CTime object. |
|
Returns the year represented by the CTime object. |
Conversion
Converts a CTime object into a formatted string — based on the local time zone. |
|
Converts a CTime object into a formatted string — based on UTC. |
|
Converts the time information stored in the CTime object to a Win32-compatible DBTimeStamp structure. |
|
Converts the time information stored in the CTime object to a Win32-compatible SYSTEMTIME structure. |
|
Breaks down a CTime object into components — based on UTC. |
|
Breaks down a CTime object into components — based on the local time zone. |
Operators
These operators add and subtract CTimeSpan and CTime objects. |
|
These operators add and subtract a CTimeSpan object to and from this CTime object. |
|
The assignment operator. |
|
Comparison operators. |
Archive
Serializes data to or from an archive. |