10. curl::getdate

[<<<] [>>>]

This function returns the number of seconds since January 1st 1970, for the date and time that the datestring parameter specifies. Read further in the date string parser section below.

If the input string can not be parsed the function return zero.

The following is copied from the original curl_getdate manual page.

PARSING DATES AND TIMES

A "date" is a string, possibly empty, containing many items separated by whitespace. The whitespace may be omitted when no ambiguity arises. The empty string means the beginning of today (i.e., midnight). Order of the items is immaterial. A date string may contain many flavors of items:

AUTHORS

Originally written by Steven M. Bellovin smb@research.att.com while at the University of North Carolina at Chapel Hill. Later tweaked by a couple of people on Usenet. Completely overhauled by Rich $alz rsalz@bbn.com and Jim Berets jberets@bbn.com in August, 1990.


[<<<] [>>>]