diff --git a/snippets/timestamp.md b/snippets/timestamp.md index 25aeb09ba..f739e9c5b 100644 --- a/snippets/timestamp.md +++ b/snippets/timestamp.md @@ -10,7 +10,7 @@ Gets the Unix timestamp from a `Date` object ```js const getTimestamp = date => -date.getTime()/1000 + Math.floor(date.getTime()/1000); ``` ```js