company logo

Date :: operator- - Suntract date value

The function returns the date difference measured in days.

Return value:  Centiseconds ( int32  )

Time span in hundredths of a second or centiseconds in a time value.

Implementation details

int32 Date  :: operator- ( odaba::Date &cDate )

The difference is calculated by subtracting days of the date passed from days for the current date.

  • cDate - Date

    The date contains day, month and year, but not the time.