format date-time #3589
Answered
by
matthewmayer
yuf19-2022
asked this question in
Q&A
-
how can i format date-time |
Beta Was this translation helpful? Give feedback.
Answered by
matthewmayer
Aug 13, 2025
Replies: 1 comment
-
Faker date methods return standard JavaScript Date objects. So you can use any standard formatting techniques for Date eg https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Shinigami92
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Faker date methods return standard JavaScript Date objects.
So you can use any standard formatting techniques for Date eg https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat