Date parsing - forcing timezone #1840
Unanswered
bryanrcampbell
asked this question in
General
Replies: 1 comment 1 reply
-
Any chance anyone has found a way to do this? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there - great library, I can really appreciate all the time and thought that went into building date-fns. Two thumbs up for making it immutable!
I've got a 3rd party data source i'm reading in with dates like so: "3/3/2020 0:00:00". I know that these dates are UTC, how do I tell date-fns to parse it as UTC rather than my local timezone?
thanks!
Beta Was this translation helpful? Give feedback.
All reactions