cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Different Region TimeZone

Hi All,

 

i have a small requirement, i want to show the current date and time in China , UK , US and Brazil. How can i do that in powerapps?

 

Thanks in advance!!

 

Hope you guys can help me out in this.

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Super User III
Super User III

Hi @Anonymous ,

If you know the hours difference, just use the DateAdd function with the Hours parameter, so if Brazil was 2 hours ahead of you the formula for the current time in Brazil would be

DateAdd(Now(),2,Hours)

For somewhere 5 hours behind

DateAdd(Now(),-5,Hours)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

View solution in original post

6 REPLIES 6
WarrenBelz
Super User III
Super User III

Hi @Anonymous ,

If you know the hours difference, just use the DateAdd function with the Hours parameter, so if Brazil was 2 hours ahead of you the formula for the current time in Brazil would be

DateAdd(Now(),2,Hours)

For somewhere 5 hours behind

DateAdd(Now(),-5,Hours)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

View solution in original post

Anonymous
Not applicable

@WarrenBelz  let me try this out but i think this would do the trick.

 

However, could you also help me in one of the post?

https://powerusers.microsoft.com/t5/Building-Power-Apps/Create-Multiple-records-to-Sharepoint-based-...

 

Thank You!

Hi @Anonymous ,

Sorry, I do not use people pickers, so cannot contribute anything here.

I can tell you however that they are complex field types (tables) with a unique set of components.

Anonymous
Not applicable

@WarrenBelz  i am able to add the hours but the problem is i want to add minutes too. so one of the region is 2 hours and 30 minutes more than my time. 
How do i add that in date add because i am getting an error, maybe i am not much aware of the syntax.

Hi @Anonymous ,

Two hours and thirty minutes would be

DateAdd(DateAdd(Now(),2,Hours),30,Minutes)

 

Or...

DateAdd( Now(), 150, Minutes )

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (2,235)