add curlcode
[mdref/mdref-http] / http / Cookie / getExpires.md
1 # int http\Cookie::getExpires()
2
3 Get the currently set expires attribute.
4 See http\Cookie::setExpires().
5
6 > **Note:** A return value of -1 means that the attribute is not set.
7
8 ## Params:
9
10 None.
11
12 ## Returns:
13
14 * int, the currently set expires attribute as seconds since the epoch.