3.54. TIMEVALUE integer

[<<<] [>>>]

curl::option CURL,"TIMECONDITION","IFMODSINCE"
curl::option CurlHandle,"TIMEVALUE",curl::getdate("2 days ago")

Pass an integer as parameter. This should be the time in seconds since 1 jan 1970, and the time will be used as specified in the option TIMECONDITION or if that isn't used, it will be IFMODSINCE by default. (In other words curl will fetch the page only if that is newer than the specified time.)

To conveniently get such time-stamp values as accepted by this function as argument you can use the ScriptBasic function TIMEVALUE.


[<<<] [>>>]