COleDateTime Members
Construction
Constructs a COleDateTime object. |
|
Creates a COleDateTime object that represents the current time (static member function). |
Attributes
Call this method to obtain the time in the COleDateTime object as a SYSTEMTIME data structure. |
|
Call this method to obtain the time in the COleDateTime object as a DBTIMESTAMP data structure. |
|
Call this method to obtain the time in the COleDateTime as a UDATE data structure. |
|
Returns the day this COleDateTime object represents (1 – 31). |
|
Returns the day of the week this COleDateTime object represents (Sunday = 1). |
|
Returns the day of the year this COleDateTime object represents (Jan 1 = 1). |
|
Returns the hour this COleDateTime object represents (0 – 23). |
|
Returns the minute this COleDateTime object represents (0 – 59). |
|
Returns the month this COleDateTime object represents (1 – 12). |
|
Returns the second this COleDateTime object represents (0 – 59). |
|
Gets the status (validity) of this COleDateTime object. |
|
Returns the year this COleDateTime object represents. |
|
Sets the status (validity) of this COleDateTime object. |
Operations
Generates a formatted string representation of a COleDateTime object. |
|
Reads a date/time value from a string and sets the value of COleDateTime. |
|
Sets the value of this COleDateTime object to the specified date-only value. |
|
Sets the value of this COleDateTime object to the specified date/time value. |
|
Sets the value of this COleDateTime object to the specified time-only value. |
Operators
Add and subtract COleDateTime values. |
|
Add and subtract a ColeDateTime value from this COleDateTime object. |
|
Copies a COleDateTime value. |
|
Compare two ColeDateTime values. |
|
Converts a ColeDateTime value into a DATE*. |
|
Converts a ColeDateTime value into a DATE. |
Data Members
Contains the underlying DATE for this COleDateTime object. |
|
Contains the status of this COleDateTime object. |