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

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
Highlighted
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
Highlighted
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

Highlighted

@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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (8,982)