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

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Top Kudoed Authors
Users online (57,812)