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
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Top Solution Authors
Top Kudoed Authors
Users online (1,199)