Home
last modified time | relevance | path

Searched refs:date (Results 1 – 25 of 88) sorted by relevance

1234

/curl/lib/
H A Dparsedate.c269 while(**date && !ISALNUM(**date)) in skip()
270 (*date)++; in skip()
302 if(ISDIGIT(date[1])) { in oneortwodigit()
303 *endp = &date[2]; in oneortwodigit()
306 *endp = &date[1]; in oneortwodigit()
375 skip(&date); in parsedate()
408 date += len; in parsedate()
417 date = end; in parsedate()
445 ((date[-1] == '+' || date[-1] == '-'))) { in parsedate()
497 date = end; in parsedate()
[all …]
H A Dhttp_aws_sigv4.c584 char date[9]; in Curl_output_aws_sigv4() local
742 memcpy(date, timestamp, sizeof(date)); in Curl_output_aws_sigv4()
743 date[sizeof(date) - 1] = 0; in Curl_output_aws_sigv4()
781 date, region, service, request_type); in Curl_output_aws_sigv4()
817 HMAC_SHA256(secret, strlen(secret), date, strlen(date), sign0); in Curl_output_aws_sigv4()
/curl/docs/cmdline-opts/
H A Dtime-cond.md23 Request a file that has been modified later than the given time and date, or
24 one that has been modified before that time. The date expression can be all
25 sorts of date strings or if it does not match any internal ones, it is treated
26 as a filename and curl tries to get the modification date (mtime) from that
27 file instead. See the *curl_getdate(3)* man pages for date expression details.
29 Start the date expression with a dash (-) to make it request for a document
30 that is older than the given date/time, default is a document that is newer
31 than the specified date/time.
H A Dquote.md44 ## atime date file
46 operand. The date expression can be all sorts of date strings, see the
47 *curl_getdate(3)* man page for date expression details. (Added in 7.73.0)
70 ## mtime date file
72 file operand. The date expression can be all sorts of date strings, see the
73 *curl_getdate(3)* man page for date expression details. (Added in 7.73.0)
/curl/docs/libcurl/
H A Dcurl_getdate.md19 curl_getdate - convert date string to number of seconds
32 1st 1970 00:00:00 in the UTC time zone, for the date and time that the
41 A "date" is a string containing several items separated by whitespace. The
42 order of the items is immaterial. A date string may contain many flavors of
45 ## calendar date items
57 digits with two colons: HH:MM:SS. If there is no time given in a provided date
76 calendar date.
113 This parser handles date formats specified in RFC 822 (including the update in
123 This function returns -1 when it fails to parse the date string. Otherwise it
/curl/docs/libcurl/opts/
H A DCURLOPT_QUOTE.md63 ## atime date file
66 operand. The date expression can be all sorts of date strings, see the
67 curl_getdate(3) man page for date expression details. (Added in 7.73.0)
95 ## mtime date file
98 file operand. The date expression can be all sorts of date strings, see the
99 curl_getdate(3) man page for date expression details. (Added in 7.73.0)
H A DCURLOPT_AWS_SIGV4.md42 such as "Algorithm", "date", "request type" and "signed headers".
61 **"TEST-HMAC-SHA256"** for "Algorithm", **"x-try-date"** and **"X-Try-Date"**
62 for "date", **"test4_request"** for "request type",
63 **"SignedHeaders=content-type;host;x-try-date"** for "signed headers"
H A DCURLOPT_HSTSREADFUNCTION.md51 FALSE. Set *expire* to a date stamp or a zero length string for *forever*
52 (wrong date stamp format might cause the name to not get accepted)
H A DCURLOPT_ALTSVC.md101 Expiration date and time of this entry within double quotes. The date format
/curl/tests/data/
H A Dtest240355 date: Tue, 09 Nov 2010 14:49:00 GMT
63 {"date":["Tue, 09 Nov 2010 14:49:00 GMT"],
H A Dtest250354 date: Tue, 09 Nov 2010 14:49:00 GMT
61 {"date":["Tue, 09 Nov 2010 14:49:00 GMT"],
H A Dtest35864 date: Tue, 09 Nov 2010 14:49:00 GMT
73 date: Tue, 09 Nov 2010 14:49:00 GMT
84 # strip out the (dynamic) expire date from the file so that the rest
H A Dtest35964 date: Tue, 09 Nov 2010 14:49:00 GMT
73 date: Tue, 09 Nov 2010 14:49:00 GMT
84 # strip out the (dynamic) expire date from the file so that the rest
H A Dtest170080 date: Tue, 09 Nov 2010 14:49:00 GMT
91 date: Tue, 09 Nov 2010 14:49:00 GMT
H A Dtest54329 # time/date of the file
H A Dtest159628 HTTP Retry-After header parsing using a date
H A Dtest42114 date: Tue, 07 Mar 2023 15:14:41 GMT
65 "date":["Tue, 07 Mar 2023 15:14:41 GMT"],
H A Dtest240653 date: Tue, 09 Nov 2010 14:49:00 GMT
H A Dtest7735 HTTP with -z "older date"
H A Dtest240054 date: Tue, 09 Nov 2010 14:49:00 GMT
H A Dtest54245 # time/date of the file
H A Dtest129449 …r small to wit, a workhouse; and in this workhouse was born; on a day and date which I need not tr…
61 …r small to wit, a workhouse; and in this workhouse was born; on a day and date which I need not tr…
H A Dtest56240 # time/date of the file
/curl/scripts/
H A Dfirefox-db2pem.sh42 currentdate=$(date)
H A Dmaketgz92 timestamp=${SOURCE_DATE_EPOCH:-$(date +"%s")}
93 datestamp=$(date -d "@$timestamp" +"%F")
94 filestamp=$(date -d "@$timestamp" +"%Y%m%d%H%M.%S")

Completed in 23 milliseconds

1234