Notifications
Announcements
No record found.
I have date 01/04/2020 in text datatype. Now, I want to convert and return to DATE datatype. Is there any solution?
Hi Sujan Khadka ,
Please use below:
yourtextdate := '01/04/2020';
Evaluate(DateTypeVariable,yourtxtdate);
Hi Nitin Verma,
above answer returns 01/04/20. But my requirement is that I need 01/04/2020. Hope you understood
This is the different question, Initially you asked this "I have date 01/04/2020 in text datatype. Now, I want to convert and return to DATE datatype. Is there any solution?" answer of this I have already shared.
In Message(Format(abc)) suppose I have 01/04/2020 which is in text datatype. After evaluating with date type, my answer would be 01/04/20 which is a date datatype. But my task is to return 01/04/2020 with date datatype.
Please refer below link
docs.microsoft.com/.../ui-enter-date-ranges
Hi, Nitin is right. The current date format displayed on the page depends on the Region of your current system.
So if you want to change '01/04/20' to '01/04/2020', you should change your region first. (About this our Partner cannot specify)
For example,
Hope this helps as well.
Thanks.
ZHU
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 3,229
Jainam M. Kothari 1,867 Super User 2025 Season 2
YUN ZHU 1,153 Super User 2025 Season 2