company logo

Time :: operator> - Compare two time values (greater)

The operation compares the two time values and returns true, when the first operand is greater than the second operand and false otherwise.

Return value:  Success ( bool  )

The value is true when the function was executed successfully. Otherwise the value is set to false.

Implementation overview

Implementation details

  1. Compare time value with string data
    bool Time  :: operator> ( odaba::String &sDate )

    The function compares the time value with the time point passed in sTime.

    • sDate - Date value in string format

      Date values can be passed in different ways as string value:

              Standard: yyyy-mm-dd or yyyymmdd

              English:     mm/dd/yyyy

              German:     dd.mm.yyyy

      The type of date is determined from the separator used.

  2. to list
  3. Compare two time points
    bool Time  :: operator> ( odaba::Time &cTime )

    The function compares the time value with the time value passed in cTime.

    • cTime - Time value

      The time value is passed in the ODABA Interface::Time format and provides time in 1/100th seconds.

  4. to list