Class: CalcDateDiff

Actions. CalcDateDiff

This action node calculates the difference between two dates, provided as strings. the result is stored in a field

new CalcDateDiff()

Members


parameters :Object

Node parameters
Type:
  • Object
Properties:
Name Type Description
parameters
Properties
Name Type Description
dateFrom ExpressionString string reresenting starting date
dateTo ExpressionString string reresenting end date
fieldName MemoryField number of seconds between dateTo and dateFrom

<readonly> title :String

Node name. Default to `CalcDateDiff`.
Type:
  • String
Properties:
Name Type Description
name

Methods


validators()

defines validation methods to execute at the editor; if one of them fails, a dashed red border is displayed for the node
Returns:
Type
Array.<Validator>