Skip to content

Commit 9f71be2

Browse files
committed
DateTime: mention "epoch" in .posix
1 parent 0f11a13 commit 9f71be2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/Type/DateTime.pod

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,8 @@ Usage:
275275
276276
DATETIME.posix
277277
278-
Returns the date and time as a POSIX/UNIX timestamp.
278+
Returns the date and time as a POSIX/UNIX timestamp (seconds since the Epoch,
279+
1st January 1970 UTC).
279280
280281
say DateTime.new('2015-12-24T12:23:00Z').posix; # 1450959780
281282

0 commit comments

Comments
 (0)