I am using following syntax to set cookie:

```
Set-Cookie:Cookie-name=value; path=/; Max-Age=1296000; HttpOnly

```

In google chrome console it is showing 
**Invalid Date** for that cookie. 

What is wrong in the syntax ?

According to 
<http://en.wikipedia.org/wiki/HTTP_cookie#Expires_and_Max-Age>
http://tools.ietf.org/html/rfc6265#section-5.2.2
I can use Max-Age to specify relative expiration time.