|
LiteSQL
|
holds date More...
#include <datetime.hpp>
Public Member Functions | |
| Date (time_t t=0) | |
| crops time of day to 00:00:00 | |
| Date (int day, int month, int year) | |
| int | day () const |
| int | dayOfWeek () const |
| int | month () const |
| int | year () const |
| time_t | timeStamp () const |
| TimeStruct | timeStruct () const |
| Date & | setDay (int d) |
| Date & | setMonth (int m) |
| Date & | setYear (int y) |
| Date & | setTimeStamp (time_t t) |
| std::string | asString (const std::string &format="%u") const |
holds date