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 Platform Community / Forums / Power Apps / Date format to dd/mmm/...
Power Apps
Answered

Date format to dd/mmm/yyyy

(0) ShareShare
ReportReport
Posted on by 81

Hi,

 

I have a SharePoint List log in date column data type: date and time,

 

I know below code to display: 19/Sep/2023

Text(Today(),"dd/mmm/yyyy")

 

but however it is in data type: Text, is it possible to display date in this format "19/Sep/2023" in data type: date and time?

Categories:
I have the same question (0)
  • Verified answer
    Michael E. Gernaey Profile Picture
    53,963 Moderator on at

    Hello,

     

    If you are always looking for 3 characters of the month you can do this. You can change DateValue(add your string date), or if you have a real date, just put the data there and take out DateValue() or you can put utcNow() etc.

     

     

    Concatenate(
     Text(DateValue("01/01/2023"),"dd"), "/",
     Left(Text(DateValue("01/01/2023"),"mmmm"),3), "/",
     Text(DateValue("01/01/2023"),"yyyy")
    )

     

     Example:

    FLMike_0-1695095693000.png

     



    Cheers
    If you like my answer, please Mark it as Resolved, and give it a thumbs up, so it can help others
    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @Open1333 ,

     

    Do you want to format the date column in a SharePoint list?

    vbofengmsft_0-1695101822634.png

     

    If so please try JSON Schema

    vbofengmsft_1-1695101852384.png

    vbofengmsft_2-1695101884522.png

    vbofengmsft_3-1695101910453.png

     

    { 
     "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json", 
     "elmType": "span", 
     "txtContent": "=getDate([$DateColumn]) + '-' + if(getMonth([$DateColumn])==0,'Jan',if(getMonth([$DateColumn])==1,'Feb',if(getMonth([$DateColumn])==2,'Mar',if(getMonth([$DateColumn])==3,'Apr',if(getMonth([$DateColumn])==4,'May',if(getMonth([$DateColumn])==5,'Jun',if(getMonth([$DateColumn])==6,'Jul',if(getMonth([$DateColumn])==7,'Aug',if(getMonth([$DateColumn])==8,'Sept',if(getMonth([$DateColumn])==9,'Oct',if(getMonth([$DateColumn])==10,'Nov','Dec'))))))))))) + '-' + getYear([$DateColumn])" 
     }

     

    Best Regards,

    Bof

     

  • Open1333 Profile Picture
    81 on at

    Thank you all for your help!!

    I want to display the date in below format

    Open1333_0-1695103915923.png

    but my SharePoint List column data type: Date and Time 

    2023-09-19_14h14_17.png

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 977

#2
Valantis Profile Picture

Valantis 664

#3
11manish Profile Picture

11manish 530

Last 30 days Overall leaderboard