![]() |
Home | Libraries | People | FAQ | More |
Type representing MySQL DATE
data type.
Defined in header <boost/mysql/date.hpp>
class date
|
Name |
Description |
|---|---|
|
A |
|
Name |
Description |
|---|---|
|
Converts |
|
|
date [constructor] |
Constructs a zero date. |
|
Retrieves the day component. |
|
|
Converts |
|
|
Retrieves the month component. |
|
|
Tests for equality. |
|
|
Tests for inequality. |
|
|
Returns |
|
|
Retrieves the year component. |
|
Name |
Description |
|---|---|
|
Returns the current system time as a date object. |
|
Name |
Description |
|---|---|
|
Streams a date. |
Represents a broken date by its year, month and day components. This type
is close to the protocol and should not be used as a vocabulary type. Instead,
cast it to a std::chrono::time_point by calling as_time_point or get_time_point.
As opposed to time_point,
this type allows representing invalid and zero dates.
Convenience header <boost/mysql.hpp>