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

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
eka24
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
eka24
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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (2,293)