From f2a16f52404c66b7925e1eb989703a194df95ad1 Mon Sep 17 00:00:00 2001 From: samfultonschool <42898105+samfultonschool@users.noreply.github.com> Date: Thu, 8 Nov 2018 04:21:27 -0700 Subject: [PATCH] Added Timestamp Fact (#21248) Added timestamp fact about what it is and when it will end. --- guide/english/javascript/get-timestamp/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/guide/english/javascript/get-timestamp/index.md b/guide/english/javascript/get-timestamp/index.md index 44a3504897..c9000aa1e3 100644 --- a/guide/english/javascript/get-timestamp/index.md +++ b/guide/english/javascript/get-timestamp/index.md @@ -6,3 +6,5 @@ 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. + +Unix Timestamp is number of seconds elapsed since 01/01/1970, 00:00:00 UTC. The Unix timestamp will break on 01/19/2038.