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.

View solution in original post

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (3,400)