Function CSPDateTime::CSPDateTime()
Description:
Creates a datetime object and assigns a date and a time value to it.
 |
Prototype:
CSPDateTime(unsigned long ulSecond, unsigned long ulMinute, unsigned long ulHour, unsigned long ulDay, unsigned long ulMonth, long lYear, int idst = -1);
Arguments:
- unsigned long ulSecond [IN]
The second, ranging from 0 to 59.
- unsigned long ulMinute [IN]
The minute, ranging from 0 to 59.
- unsigned long ulHour [IN]
The hour, ranging from 0 to 23.
- unsigned long ulDay [IN]
The day of the month, ranging from 1 to 31.
- unsigned long ulMonth [IN]
The month, ranging from 1 to 12.
- long lYear [IN]
The year.
- int idst = -1 [IN]
Daylight saving. If set to 1, daylight saving is on. If set to 0, daylight saving is off. If set to -1, daylight is automatically calculated.
Return value:
No value is returned.
See also:
constructors CSPDateTime(), CSPDateTime( const CSPDate, const CSPTime, int )
|
|