diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-06-11 22:04:41 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-06-11 22:04:41 +0000 |
commit | c04fae3096309b66085ca4ab7edfe15dd0ff364f (patch) | |
tree | fdd3437b402b8fd62112c3a73228e6b176f74608 | |
parent | a214af0830b0a618535a937573f1db3e7f85b009 (diff) |
CURLINFO_FILETIME returns the time for GMT
-rw-r--r-- | docs/libcurl/curl_easy_getinfo.3 | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/docs/libcurl/curl_easy_getinfo.3 b/docs/libcurl/curl_easy_getinfo.3 index 8325aafde..44dc433a6 100644 --- a/docs/libcurl/curl_easy_getinfo.3 +++ b/docs/libcurl/curl_easy_getinfo.3 @@ -35,12 +35,14 @@ this. Pass a pointer to a long to receive the last received proxy response code to a CONNECT request. .IP CURLINFO_FILETIME -Pass a pointer to a long to receive the remote time of the retrieved -document. If you get -1, it can be because of many reasons (unknown, the -server hides 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 -CURLOPT_FILETIME option to \fIcurl_easy_setopt(3)\fP. (Added in 7.5) +Pass a pointer to a long to receive the remote time of the retrieved document +(in number of seconds since 1 jan 1970 in the GMT/UTC time zone). If you get +-1, it can be because of many reasons (unknown, the server hides 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 CURLOPT_FILETIME option +to \fIcurl_easy_setopt(3)\fP or you will unconditionally get a -1 back. (Added +in 7.5) .IP CURLINFO_TOTAL_TIME Pass a pointer to a double to receive the total transaction time in seconds for the previous transfer. This time does not include the connect time, so if |