1. Fields
  2. DateTime Field

Fields

DateTime Field

The DateTime Field allows for capturing a specific point in time, including both the date and time.

The dates are in ISO 8601 format.

Basic usage

Adds a datetime field to the fields of an action.

loading...

Result

The field will be displayed as a date time picker in the form, as below: Preview of a datetime field in a form

The resultant data will be available in the stubpost.data as:

loading...

This can be substituted with eg. ~~stubpost.data.employee_start_date where required.

Parameters

See fields for common field parameters like validation and conditional rendering.