diff options
Diffstat (limited to 'docs/libcurl/opts/CURLINFO_FILETIME.3')
-rw-r--r-- | docs/libcurl/opts/CURLINFO_FILETIME.3 | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/docs/libcurl/opts/CURLINFO_FILETIME.3 b/docs/libcurl/opts/CURLINFO_FILETIME.3 index f6298c3b..0b77214c 100644 --- a/docs/libcurl/opts/CURLINFO_FILETIME.3 +++ b/docs/libcurl/opts/CURLINFO_FILETIME.3 @@ -5,7 +5,7 @@ .\" * | (__| |_| | _ <| |___ .\" * \___|\___/|_| \_\_____| .\" * -.\" * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al. +.\" * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al. .\" * .\" * This software is licensed as described in the file COPYING, which .\" * you should have received as part of this distribution. The terms @@ -20,7 +20,7 @@ .\" * .\" ************************************************************************** .\" -.TH CURLINFO_FILETIME 3 "April 03, 2017" "libcurl 7.58.0" "curl_easy_getinfo options" +.TH CURLINFO_FILETIME 3 "January 25, 2018" "libcurl 7.59.0" "curl_easy_getinfo options" .SH NAME CURLINFO_FILETIME \- get the remote time of the retrieved document @@ -35,9 +35,12 @@ Pass a pointer to a long to receive the remote time of the retrieved document hide it or the server doesn't support the command that tells document time etc) and the time of the document is unknown. -Note that you must tell the server to collect this information before the -transfer is made, by using the \fICURLOPT_FILETIME(3)\fP option to -\fIcurl_easy_setopt(3)\fP or you will unconditionally get a -1 back. +You must tell libcurl to collect this information before the transfer is made, +by using the \fICURLOPT_FILETIME(3)\fP option to \fIcurl_easy_setopt(3)\fP or +you will unconditionally get a -1 back. + +Consider using \fICURLINFO_FILETIME_T(3)\fP to be able to extract dates beyond +the year 2038 on systems using 32 bit longs. .SH PROTOCOLS HTTP(S), FTP(S), SFTP .SH EXAMPLE |