Skip to main content
DemoZalo 0862020654

Data

Date/Time

Get current date/time or format dates

Block type: datetime

The Date/Time block’s settings panel in the workflow editor.
The block’s settings, as they appear in the editor.

Inputs

NameTypeDefaultDescription
disableBlockbooleanfalseDisable this block
descriptionstring—Node description
formatstringISODate format (ISO, Unix, locale, custom)
timezonestringlocalTimezone (e.g., America/New_York, UTC, local)
operationselectnowOperation

Example: now

nowaddsubtractdiffformat
addTostring—Date to add/subtract from (for add/subtract)
amountnumber0Amount to add/subtract
unitselectdaysTime unit

Example: years

yearsmonthsweeksdayshoursminutessecondsmilliseconds

Outputs

  • valuestring

    Formatted date/time