cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
atray13
Advocate II
Advocate II

Display date without time

Hi,

 

I have this problem when i am displaying a date field (only date, no time) in my app.

Usually i will use this formula in the text value:

Text(ThisItem.'Date', ShortDate)

And it displays it how i want it, just the date no time included.

 

But for some reason this is working on one label, but not the other?

As in they have the exact same properties, but one of them still displays the datetime.

 

Is this an issue anyone else has come across and is there a solution?

1 ACCEPTED SOLUTION

Accepted Solutions
eka24
Super User
Super User

Try

Text(ThisItem.'Date',"dd-mmm-yyyy")

 

If you still have issues, give a screenshot.

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

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

3 REPLIES 3
eka24
Super User
Super User

Try

Text(ThisItem.'Date',"dd-mmm-yyyy")

 

If you still have issues, give a screenshot.

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

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.

GriffinHelp
New Member

Im having a similar issue, I apologize if this isnt the correct place to post or if I needed to open up a separate board for this.

 

Currently have text(ThisItem.Date) Its giving all my dates an 8:00PM time.

I would like for it to just display the Date no time.

Ive tried the above solutions and it gives me errors.

Date is pulling its data from a connected spread sheet only using the app to update the spreadsheet and calculate hours.

 

Any assistance would be appreciated Time date help 1.PNG

 

Thank you

Kindly show the formula with the error if you used Text(ThisItem.Date,"dd-mmm-yyyy")

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

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.

Consider Checking My Youtube Channel

 

 

Helpful resources

Announcements
Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

<
Users online (2,198)