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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to convert datetim...
Power Apps
Answered

How to convert datetime to text in calculated field

(0) ShareShare
ReportReport
Posted on by 11

I'm trying to create a calculated column in a table and set the data type as Single line of text. I want to get the text value of createdon, which is datetime type, but can't find a possible solution on this, does anyone know about it?

 

I tried to use Text(createdon, "dd/MM/yyyy hh:mm:ss"), but it shown that   The TEXT function doesn't exist.

I have the same question (0)
  • v-bofeng-msft Profile Picture
    on at

    Hi @Deeny ,

     

    Could you please show me a screenshot? Where did you use the text function?

     

    Best Regards,

    Bof

  • Deeny Profile Picture
    11 on at

    Hello, here is the screenshot, thanks for your investigation!

    Capture.JPG
  • Verified answer
    v-bofeng-msft Profile Picture
    on at

    Hi @Deeny ,

     

    There is no such a function named 'TEXT' for calculated field 

    vbofengmsft_0-1685510781306.png

     

    Please check this link:
    https://learn.microsoft.com/en-us/previous-versions/dynamicscrm-2016/administering-dynamics-365/dn832103(v=crm.8)?redirectedfrom=MSDN 

     

     In addition , the formula column is also not work for 'Text' cause The Text and Value functions only work with whole numbers(https://learn.microsoft.com/en-us/power-apps/maker/data-platform/formula-columns#functions)

    vbofengmsft_1-1685510958234.png

     

     

    Please consider using flow, triggering with 'when a row is added', and then updating this text field.

     

     

    Best Regards,

    Bof

  • Deeny Profile Picture
    11 on at

    Hi @v-bofeng-msft , thanks for your reply, I'm trying to create real time process for this issue.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 380 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 340

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 333 Super User 2025 Season 2

Last 30 days Overall leaderboard