Skip to content

Commit 0306ed1

Browse files
committed
Add a note directive block at the top of datetime to describe the time zone behavior
Signed-off-by: Yuanchun Shen <yuanchu@amazon.com>
1 parent f335276 commit 0306ed1

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

docs/user/ppl/functions/datetime.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ Date and Time Functions
88
:local:
99
:depth: 1
1010

11+
.. note::
12+
13+
All PPL date and time functions use the UTC time zone by default, unless otherwise specified. Both input and output
14+
values are interpreted as UTC. For instance, an input timestamp literal like '2020-08-26 01:01:01' is assumed to be
15+
in UTC, and the now() function also returns the current date and time in UTC.
16+
1117
ADDDATE
1218
-------
1319

@@ -1178,7 +1184,7 @@ Example::
11781184

11791185

11801186
MINUTE_OF_DAY
1181-
------
1187+
-------------
11821188

11831189
Description
11841190
>>>>>>>>>>>

0 commit comments

Comments
 (0)