Skip to main content
The DAYS function calculates the number of days between two dates.

Supported Product Scenarios

The DAYS function is supported in the following YiDA scenarios:
  • Form (main table fields)
  • Form (business association rules)
  • Form (validation)
  • Workflow design (validation rules)
  • Workflow design (association actions)
  • Integration & automation
  • Workflow - Node
  • Connector

Syntax

Attribute Description

Return Value

Example

As shown in the figure below, use the DAYS() function to get the number of days between two dates.

Try It Out

Returns the number of days between two dates.