Skip to main content
Question

How can I get the admin's timezone?

  • September 15, 2022
  • 1 reply
  • 62 views

I've built an app that is returning a list of items with a formatted date like 6 June 2022 12:02am. I format the date on the backend side, so it's based on server's timezone.

How can I get the admin's timezone, and format the items based on admin local time?

 

Thank you!

Did this topic help you find an answer to your question?

1 reply

  • Author
  • New Participant
  • 2 replies
  • September 16, 2022

I think that I found a way. Based on user token, I call https://api.intercom.io/meand I get the timezone from there.

Thank you.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings