How to use useNow
to display current time on a given timezone?
#3865
Unanswered
stefanobartoletti
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 need to display the current time, but aspecific to a given timezone.
So in example, always show the current time of Central European Timezone, even when the user is visiting the site from let's say the Americas or Australia.
I've tried to read the docs of both
useNow
anduseDateFormat
, but I don't understand how to set the timezone, or if it is even possible by just using these composables alone.Does somebody have suggestions about this? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions