web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Apps
Answered

trasform date

(0) ShareShare
ReportReport
Posted on by 90

sorry my english ... i have a need. I have the date in a table sql in 20200116 format in char (8) format. I need to display it in the app mask, in the 16/01/2020 format. Could you recommend me? I attach the mask Thanks in advance!

Immagine app.jpg
Categories:
  • Verified answer
    PowerAddict Profile Picture
    7,316 Most Valuable Professional on at
    If your text is a string, you can use something like this:

    Text(DateValue(YourDateField.Text), "dd/mm/yyyy")

    ---
    If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

    Thanks!
    Hardit Bhatia
    The Power Addict
    https://thepoweraddict.com
  • gioce Profile Picture
    90 on at

    thanks for the reply, but if I have this function, where should I insert it to extract the data in the correct format?

     

    SortByColumns(Filter('[dbo].[USR_APPUNTAMENTI]';Value(DATAAPP)>=Value(Label38.Text) And Value(DATAAPP)<=(Value(Label5_1.Text))And CODICENEGOZIO=Dropdown2.Selected.CODMAGAZ And TIPOVISITA=Dropdown4.Selected.DESCRIZIONE);"DATAAPP")

    Immagine app.jpg
  • PowerAddict Profile Picture
    7,316 Most Valuable Professional on at
    The label in your gallery where you want to display the date is where you will use the formula I have shared.

    ---
    If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

    Thanks!
    Hardit Bhatia
    The Power Addict
    https://thepoweraddict.com
  • gioce Profile Picture
    90 on at

    I solved it like this:

    Text(DateValue(DATAAPP); "[$-it-IT]dd/mm/yyyy")

    Thank's

  • PowerAddict Profile Picture
    7,316 Most Valuable Professional on at
    Glad I could help! Good luck with the rest of your app! Feel free to reach out in case of any questions!

    Thanks,
    Hardit Bhatia
    The Power Addict
    https://thepoweraddict.com

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 139

Last 30 days Overall leaderboard