cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Post Patron
Post Patron

SharePoint Date & Time format in PowerApps - GMT/UK

How can I get a Date & Time column to display correctly in GMT/UK format in PowerApps?

 

In my SharePoint list my due date column is displayed correctly:

23/09/2020, 12:18:02

I want this column to display the same in PowerApps, currently it is not!
I have tried Text(DateValue(Parent.Default), "[$-en-GB]dd-mm-yyy-HH-mm-ss")

However this displays at 23/09/2020-00-00-00

1 ACCEPTED SOLUTION

Accepted Solutions
Super User III
Super User III

Try

Text(Parent.Default, "[$-en-GB]dd-mm-yyy hhmm ss")

 

Or

Text(DateTimeValue(Parent.Default), "[$-en-GB]dd-mm-yyy hhmm ss")

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

View solution in original post

2 REPLIES 2
Super User III
Super User III

Try

Text(Parent.Default, "[$-en-GB]dd-mm-yyy hhmm ss")

 

Or

Text(DateTimeValue(Parent.Default), "[$-en-GB]dd-mm-yyy hhmm ss")

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

View solution in original post

@eka24 

 

Thank you, the second option worked. I tweaked the formatting a bit:

Text(DateTimeValue(Parent.Default), "[$-en-GB]dd/mm/yyy hh:mm:ss")

 

😉

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 (99,264)