now
Returns a string showing the current time. You can specify the timezone.
Important
FUNCTION DEPRECATED — superseded by getCurrentTime.
Parameters
TIME ZONE (string)
Optional. Either an offset from the default Universal Co-ordinated Time (UTC) or an ID from the IANA time zone database. UTC is equivalent to GMT in winter.
Examples
ATL in Script | Result | Notes |
---|---|---|
| 1:53 PM | The time in your current time zone. |
| 1:53 PM | The time now in the UTC time zone. |
| 9:53 PM | The time in UTS plus 8 hours (e.g. China). |
| 4:53 PM | The time in Kampala. |