cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
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
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Top Solution Authors
Top Kudoed Authors
Users online (52,300)