Created
May 1, 2020 15:38
-
-
Save palanisamym14/ddc6063ab1e0e476f79cfa9f4cdeef68 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
public formatDate() { | |
return moment.utc(new Date().toISOString().replace(/T/, ' ').slice(0, -1)).format('YYYY-MM-DD HH:mm:ss.SSS'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment