company logo

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

Implementation details

  1. Get date value from timestamp
    const odaba::Date & DateTime  :: date (  )

    The function returns the date value from the timestamp.

  2. to list
  3. 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.

  4. to list