today
Table of Contents
Overview
The today function returns the current date value (without the time value, time value is set as 00:00:00), in the format selected in your service settings.
Note: The returned date-time format can be converted into a specified date-time format and time zone using the toString() function.
Return Type
- Date-Time
Syntax
<variable> = today;
Examples
currentDate = today; // returns 23-Oct-2023 (The current date value in the format specified in your service settings)