Sets client cache expire time for the document by sending the HTTP header "Expires".
- now
-
Notify the client that the document expires now. The headers "Pragma: no-cache" and "Cache-Control: no-cache"
will be sent, besides the "Expires" header.
- years="number"
-
Add this number of years to the result.
- months="number"
-
Add this number of months to the result.
- weeks="number"
-
Add this number of weeks to the result.
- days="number"
-
Add this number of days to the result.
- hours="number"
-
Add this number of hours to the result.
- beats="number"
-
Add this number of beats to the result.
- minutes="number"
-
Add this number of minutes to the result.
- seconds="number"
-
Add this number of seconds to the result.
It is not possible at the time to set the date beyond year 2038,
since a unix time_t is used.