| .now() | The Date.now() method returns the number of milliseconds elapsed since January 1, 1970 00:00:00 UTC. |
| .getMonth() | 1/8/2020 |
| .getTime() |
{% code title="Timestamp math" %}
var second = 1000;
var minute = 1000 * 60;
var hour = 1000 * 60 * 60;
var day = 1000 * 60 * 60 * 24;
var week = 1000 * 60 * 60 * 24 * 7;
var year = 1000 * 60 * 60 * 24 * 7 * 52;
//Multiply the number of time units you want by the formula above.
//For example, to jump 11 hours in the future or past
//you would multiply the hour numbers above by 11.{% endcode %}
| libraries | |
|---|---|
| https://momentjs.com/ | 10/19 |