Created
April 29, 2020 02:35
-
-
Save darmawan01/25bae414733e033441ad66982395d43a to your computer and use it in GitHub Desktop.
Formating datetime
This file contains hidden or 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
export const getDateFromTimeStamp = (timestamp) => { | |
return date.format(new Date(timestamp), 'ddd, DD MMMM YYYY', { locale: dateLocaleId }) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment