PAK Commands – Choose Date
1. Summary
Prompts the user with a date chooser, a datetime chooser or a month chooser. By Default the ‚dateMode‘ will be ‚date‘ and will prompt a date chooser. The resulting date time will be formatted according to the ISO-8601 norm.
2. Examples
Due to simplicity, the descriptiveText
input parameter will be left empty for the examples. By default, it will be changed by the ‚dateMode‘ input respectively.
All example images use the Human Task representation of the Workflow Executor. |
|
|
In the first example, we did not provide any inputs, so by default we are only prompted with a date chooser. We need to choose a date in order to continue, in our case the 23. Dec 2022. Our result will be written as "2022-12-23T00:00:00.000Z"
.
|
|
In the second example, we set the ‚dateMode‘ to ‚datetime‘, so we are additionally prompted with a time chooser and to set a timezone. By default, the timezone is set to our local offset. In order to continue, we need to provide a time, in our case 12:14pm. Our result will be written as "2022-12-23T10:14:00.000Z"
.
Due to normalization, the resulting time may be off for your selected time zone, it will be stored in the Zulu time zone (UTC +0) |
|
|
In the third example, we set the ‚dateMode‘ to ‚month‘, so we are only prompted with a month chooser. We need to choose a date in order to continue, in our case the Dezember 2022. Our result will be written as "2022-12-01T00:00:00.000Z"
.