-
-
Save usmaanalii/2edab3f3864ddcdc74de90ce26554692 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 timestamp = Date.now(); | |
const end = new Date(timestamp); | |
const hour = end.getHours(); | |
const minutes = end.getMinutes(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment