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

configuring gallery to show utc time

Hi,

 

i'm having a list where it save the time values in utc format.

 

t1.PNG

 

when i'm displaying this items in gallery they are automatically converting into local time. but i dont want to show in local format. just need to be display in the utc format only. is there any way ?

 

t2.PNG

3 REPLIES 3
VijayTailor
Resident Rockstar
Resident Rockstar

Hi @Krishna98 ,

You can use like below.

Text(ThisItem.Created,DateTimeFormat.UTC)

VijayTailor_0-1603905740947.png

Thanks,
Vijay

Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."-Vijay

 

Hi @VijayTailor 

 

Can i get that utc date in yyyy-mm-dd hh:mm format

Hi @Krishna98 ,

See the solution for your issue/the last reply.

Text(DateTimeValue(Text(ThisItem.Created,DateTimeFormat.UTC)),"[$-en-US]yyyy-mm-dd hh:mm")//"yyyy-mm-dd hh:mm"

VijayTailor_0-1603908975100.png

Thanks,
Vijay

Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."-Vijay

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

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