diff options
author | Michael Kerrisk <mtk.manpages@gmail.com> | 2016-03-11 00:38:44 +0100 |
---|---|---|
committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2016-03-11 00:43:05 +0100 |
commit | 501934a934566c14b077fe68fc521de2cef76917 (patch) | |
tree | 8db770f4ecedf54aa3a3aa1a5b7d0ecdb42c5d9f | |
parent | 25a0440e45c9f8b692e8aba522b611c99d1647a7 (diff) | |
download | man-pages-501934a934566c14b077fe68fc521de2cef76917.tar.gz |
timegm.3: Expand DESCRIPTION a little
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r-- | man3/timegm.3 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/man3/timegm.3 b/man3/timegm.3 index ed80cdbe41..48e029effb 100644 --- a/man3/timegm.3 +++ b/man3/timegm.3 @@ -54,6 +54,13 @@ are the inverses of .BR localtime (3) and .BR gmtime (3). +Both functions take a broken-down time and convert it to calendar time +(seconds since the Epoch, 1970-01-01 00:00:00 +0000, UTC). +The difference between the two functions is that +.BR timelocal () +takes the local timezone into account when doing the conversion, while +.BR timegm () +takes the input value to be Coordinated Universal Time (UTC). .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). |