I am working on cookies and I found some questions on Stack Overflow which have been answered. I see in the questions that the answers multiplied seconds by 1000. I want know what format getTime() returns, that would require multiplying by 1000.

[Make a cookie expire in 30 seconds](https://stackoverflow.com/questions/7879810/make-a-cookie-expire-in-30-seconds)

[How to set a cookie to expire in 1 hour in Javascript?](https://stackoverflow.com/questions/3794989/how-to-set-a-cookie-to-expire-in-1-hour-in-javascript)