Last Updated: February 25, 2016
·
418
· bruce-lim

JS timestamp

I used to do:
Date.parse(new Date()) // 22 characters

now I do:
+new Date // 9 characters

anything to save from typing more :)

Have a fresh tip? Share with Coderwall community!

Post
Post a tip