Softdial Scripter™ - Step Library
Current Date Time
Used to generate the current date and time in 'sortable date/ time pattern' format, e.g. 2008-04-10T06:30:00.
The time generated is based on the time zone of the server in which the Softdial Scripter™ service is running.
See also Softdial Scripter™ Timezone Integration.
Inputs
1. |
Use UTC
|
(Optional) |
Whether to generate time in UTC. True or False. Default is False if not set |
2. |
Format
|
(Optional) |
From V10.6 - Allows the date and time to be set in different formats. If the value does not meet the valid format requirements, the steps end with the Error outcome The list of supported formats are detailed by Microsoft: |
Fig. 1 - Current Date Time - Inputs
Outputs
1. |
Result
|
(Mandatory) |
The current date and time is captured in 'sortable date/ time pattern' format, e.g. 2008-04-10T06:30:00 |
2. |
Numeric Result
|
(Optional) |
The current date and time is captured in 'OLE automation date time format', e.g. 39952.5625 |
Fig. 2 - Current Date Time - Outputs
Outcomes
1. |
OK
|
Success |
2. |
Error
|
There was an error in the formatting of the input |
Fig. 3 - Current Date Time - Outcomes