fix(guide): simplify directory structure

This commit is contained in:
Mrugesh Mohapatra
2018-10-16 21:26:13 +05:30
parent f989c28c52
commit da0df12ab7
35752 changed files with 0 additions and 317652 deletions

View File

@ -0,0 +1,8 @@
---
title: Get Timestamp
---
You can use `Date.now()` to get the current timestamp in milliseconds.
You can easily convert the timestamp to seconds like this: `Math.floor(Date.now() / 1000)`
If your browser does not support `Date.now()`, you can use `new Date().getTime()` to get the timestamp in milliseconds.