Skip to content

Instantly share code, notes, and snippets.



Last active Nov 8, 2019
What would you like to do?
const getFormattedDate = date => {
return new Intl.DateTimeFormat("ja", {
year: "numeric",
month: "2-digit",
day: "2-digit",
hour: "2-digit",
minute: "2-digit",
second: "2-digit",
timeZone: "Asia/Tokyo"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.