dot-http_date: Convert expiration days to the expected date format

.http_dateR Documentation

Convert expiration days to the expected date format

Description

Convert expiration days to the expected date format

Usage

.http_date(expiration)

Arguments

expiration

Days after which the cookie should expire. To remove an HttpOnly cookie, send a negative value for this attribute.

Value

A string of the date in the required format.


cookies documentation built on Oct. 3, 2023, 1:07 a.m.