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.

Join me at 365 and PWR EduCon in Chicago
EduCon Chicago 2022

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.

Join me at 365 and PWR EduCon in Chicago
EduCon Chicago 2022

Helpful resources

Announcements
October Events

Mark Your Calendars

So many events that are happening this month - don't miss out!

Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Top Solution Authors
Top Kudoed Authors
Users online (2,028)