Created
June 17, 2020 06:30
-
-
Save oscarmarina/380090c30a2746b314ecd695b0c9d7ba to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| window.localStorage.setItem('expirationDate', new Date((new Date()).getTime() + (15 * 24 * 60 * 60 * 1000)).toString()); | |
| window.localStorage.setItem('expirationDate', new Date((new Date()).getTime() - (15 * 24 * 60 * 60 * 1000)).toString()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment