#include <CDB.h>
Public Member Functions | |
| CDBdatetime (time_t t) | |
| CDBdatetime (const struct tm &t) | |
| CDBdatetime (const CDBdatetime &c) | |
| CDBdatetime () | |
| time_t | mktime (struct tm *pb=NULL) |
| CDBdatetime & | operator= (time_t t) |
| CDBdatetime & | operator= (const struct tm &t) |
| CDBdatetime & | operator= (const CDBdatetime &c) |
| int | operator== (const CDBdatetime &c) |
Static Public Member Functions | |
| static CDBdatetime | now () |
| Get current date and time. | |
Data Fields | |
| int | day |
| int | hour |
| int | minute |
| int | month |
| int | msecond |
| int | second |
| int | year |
This class defines a abstract type for simple calender date and time. It has a resolution up to seconds.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Get current date and time. This method returns a CDBdatetime object with the current date and time. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.4