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

Community site session details

Session Id :
Small and medium business | Business Central, N...
Unanswered

Assign a text value to a DateTime field

(0) ShareShare
ReportReport
Posted on by 78
I need to assign a text value to a DateTime field. What is the correct way to convert a text string (for example, coming from an external source or input) into a valid DateTime value so that it can be stored in a DateTime field?
I have the same question (0)
  • Suggested answer
    Sahan Hasitha Profile Picture
    1,766 on at
    Assign a text value to a DateTime field
    hi
     
    try this
  • Suggested answer
    Sahan Hasitha Profile Picture
    1,766 on at
    Assign a text value to a DateTime field
    Hi
    you can assign text values to a DateTime field by converting the text into a valid format.
    The simplest way is to use the Evaluate function,
     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 3,180

#2
Sumit Singh Profile Picture

Sumit Singh 3,063

#3
YUN ZHU Profile Picture

YUN ZHU 2,317 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans