How to get client's time zone #3356
Unanswered
lutuantai95
asked this question in
Q&A
Replies: 1 comment 1 reply
-
JS |
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 guys,
I had difficulties to get current time zone as below:
let timeZone = new Date() -> 'Mon Feb 27 2023 17:52:48 GMT+0700 (Indochina Time)'
Does anyone know how to get
GMT+0700
orUTC+07
from date-fns ?Thanks in advanced!
Beta Was this translation helpful? Give feedback.
All reactions