Time::cookieTime(3) Return a HTTP Cookie expiry time

SYNOPSIS

String cookieTime( Time t )

ARGUMENTS

t The Time, which must be in the UTC (+0000) timezone.

DESCRIPTION

This function returns a String representing a time in the format used by HTTP Cookies, which is almost the same as RFC2822 but differs from it in a few ways for no apparent reason. This format should only be used for HTTP cookies, and not for any other purpose.

AUTHORS

Kaya standard library by Edwin Brady, Chris Morris and others ([email protected]). For further information see http://kayalang.org/

LICENSE

The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.

RELATED

Time.rfc2822Time(3kaya)

WebCommon.setCookie(3kaya)