Created
November 1, 2018 16:26
-
-
Save joaogolias/e2fc5a9a720ab56280cb64c61a0560ba to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const dateInTimestap = 1541089363 | |
const date = new Date(dateInTimestap*1000) | |
console.log(date) | |
console.log(date.toString()) | |
console.log(date.toLocaleTimeString()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment