MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/b2o6f2/whats_your_favorite_most_useful_javascript/eiulbid/?context=3
r/javascript • u/Linux_is_awesome • Mar 18 '19
422 comments sorted by
View all comments
3
Eh not that great but (new Date().getTime()) is my quick way to get Unix time in one line
8 u/GBcrazy Mar 19 '19 You can do this with Date.now() → More replies (1) → More replies (1)
8
You can do this with Date.now()
Date.now()
→ More replies (1)
3
u/robolab-io Mar 19 '19
Eh not that great but (new Date().getTime()) is my quick way to get Unix time in one line