Skip to main content
The TIMECOMPARE function compares two dates.

Supported Scenarios

The TIMECOMPARE function is supported in the following YiDA scenarios:
  • Form (main form fields)
  • Form (business association rules)
  • Form (validation)
  • Workflow design (validation rules)
  • Integration & automation
  • Workflow node
  • Connector

Syntax

Attributes

AttributeRequiredDescription
start_timeYesThe timestamps to compare. You can reference a date picker directly.
end_timeYes

Return Value

Example

As shown below, you can use the TIMECOMPARE() function to compare the values of two date components.

Try It Out

Compare two timestamps. If Date 1 is greater than Date 2, the function returns true; otherwise, it returns false.