Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

Text Label - Calculated Date Format

Posted on by

Hi

 

Has anyone come across this one?.....I have a calculated Date column in SharePoint List and I'm using the information within a gallery in PowerApps, and this is what is being returned:

jjjames237_0-1703071196848.png 

I'd like to format this as a regular date i.e. dd/mm/yyyy if anyone could help?

Thanks

Jim

 

Categories:
  • PA-novice Profile Picture
    PA-novice 20 on at
    Re: Text Label - Calculated Date Format

    That worked for me as well. 

  • jjjames237 Profile Picture
    jjjames237 on at
    Re: Text Label - Calculated Date Format

    That worked! Thanks Bof

  • Verified answer
    Re: Text Label - Calculated Date Format

    Hi @jjjames237,

     

    Please try:

     

    Text(DateTimeValue(ThisItem.NextReviewDueDate),"dd/mm/yyyy")

     

    Best Regards,

    Bof

  • jjjames237 Profile Picture
    jjjames237 on at
    Re: Text Label - Calculated Date Format

    Thanks for the reply Andrew, unfortunately this didn't work.

    My SharePoint calculated column is simply a date referenced from another column +365 to flag a review date in 12 months.

    I've brought this into my gallery in PowerApps and the above image is the result I get. 

  • AndrewR1 Profile Picture
    AndrewR1 1,513 on at
    Re: Text Label - Calculated Date Format

    Hi @jjjames237 you can use the Text function to do this like so: 

     

     

     

    Text(ThisItem.NextReviewDueDate,"dd/mm/yyyy")

     

     

     

    You will need to change the ThisItem.NextReviewDueDate to the same name as your date field. 

     

    Please click Accept as solution if my post helped you solve your issue. ✔️ This will help others find the solution to this problem. It also closes the item. Remember, you can accept more than one post as a solution.

     

    If the content was useful in other ways, please consider giving it Thumbs Up👍

     

    Thanks 

    Andrew

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,532

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,050

Leaderboard