Get start of month in different timezone than current system? #2994
Unanswered
florianbepunkt
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have an AWS lambda function with a default timzone of UTC.
In the business logic I get a date (in Europe/Berlin time) and I need to get the start of the month based on timezone "Europe/Berlin". Currently I found no way to do this with date-fns except for changing the environment timezone or rolling out my own utility function.
Beta Was this translation helpful? Give feedback.
All reactions