DateTime :: date - Date property
The date property provides the date value for the timestamp.
Return value: Date ( odaba::Date & )
The date contains day, month and year, but not the time.
Implementation overview
- Get date value from timestamp
DateTime :: date (  ) - Set date value
DateTime :: date ( cDate )
Implementation details
-
Get date value from timestamp
const odaba::Date & DateTime  :: date (  )
The function returns the date value from the timestamp.
to list
-
Set date value
const odaba::Date & DateTime  :: date ( odaba::Date &cDate )
The function sets the date value of the timestamp to the date value passed in cDate.
- cDate
- Date
The date contains day, month and year, but not the time.
to list
- cDate
- Date