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
User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

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