cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Krishna98
Helper V
Helper V

converting current time to other timezone

Hi, 

i want to convert the current time to est time. how can we do that ?

3 REPLIES 3
Pstork1
Dual Super User
Dual Super User

Assuming you are in EST you can do it using the following

DateAdd(Now(),TimeZoneOffset(),Hours)

 



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Hi @Pstork1 

thanks for quick response, 

My requirement is to converting UTC to EST or CST to EST(would be fine) or Current time to EST

The code I provided will convert from UTC (which is what Now() will give you) to the user's current time zone.  There is no easy way to convert to a specific time zone using Power Apps alone.  There is a function in Power Automate that can be used to convert to a time zone by name, but that function doesn't exist in Power Apps.  So you could call a flow to do the conversion and give you back the value.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,717)