today
Returns a string showing the current date. You can specify the timezone.
Important
FUNCTION DEPRECATED — superseded by getCurrentTime.
Parameters
TIME ZONE (string)
Optional. An offset from UTC or an ID from the IANA time zone database. The default is Universal Coordinated Time, which is equivalent to GMT in winter.
Examples
ATL in Script | Result | Notes |
---|---|---|
| 23 November 2017 | The date in your current time zone. |
| 23 November 2017 | The date in UTC plus 8 hours (e.g. China). |
| 24 November 2017 | The date in Sydney. |