Date

Block Information

Available in: Page Flow and Cloud Flow

Toolbox Category: Date/Time

Block Type: Output

Output Type: object

The Date block creates an object representing the current date and time. This block offers flexibility by providing either the current time or the time at the onset of the current day, which is 12 AM (midnight).

The block consists of a Dropdown configuration setting with the following options:

  • Now: Create's the date object with the current date and the current time.

  • Today: Create's the date object with the current date and the time set to 12 AM.


Usage Example

The image below shows an example of the Date block.

Here is the summary of the above example:

  • The variable b is set to the output of the Date block with the Now option.

  • The Show Information Popup block is used to show the date/time information in the variable b using the Text from Date block.

The result of the above example is shown below.

Last updated