CurrentDate
Returns midnight UTC time on the server and midnight local time on the client, as a DateTime value, of the current session.
|
Syntax
CurrentDate()
Enabled for
Search/Dashboard | Yes |
Business Rules | Yes |
Quick Actions | Yes |
Workflow Objects | Yes |
Reports | No |
Parameters
none |
Return Value
DateTime value.
If the system has to display the return value, it implicitly converts it to text, thereby allowing the display format to change depending on your culture code. See Available Languages and Cultures for a list of the culture codes used by HEAT. |
Example
$(CurrentDate())
If the current date is January 15, 2014 at 5:30 PM and your time zone is Pacific time (which is UTC-7 during daylight savings time but UTC-8 during standard time), this function returns January 16, 2014 at 12:00 AM on the server and local time of January 15, 2014 at 12:00 AM on the client.
$(CurrentDate())
To find all instances of the change business object that must be accepted today, see the following example: