cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
atray13
Helper III
Helper III

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

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Users online (2,955)