Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

The value "" can't be evaluated into type DateTime.

(0) ShareShare
ReportReport
Posted on by 10

Hello! I don't have a DateTime column at all in my code but when I try to import the fitting .CSV file I get this error code.

I doesen't make sense why it tries to evaluate the file into type DateTime when i declared is as text[2000].

My import has empty rows but I added into each column "MinOccurs = Zero;".

Full error looks like this: The value "">eur-lex.europa.eu/.../LexUriServ.do can't be evaluated into type DateTime.

Is it because of the uri for it to think it is a dateTIme? Even when I declared it as Text?

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 78,032 Super User 2025 Season 1 on at
    RE: The value "" can't be evaluated into type DateTime.

    Hi, is this an import program developed with XMLPort?
    Usually this does not happen, please try to debug it.

    Hope this helps.

    Thanks.

    ZHU

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,317 Moderator on at
    RE: The value "" can't be evaluated into type DateTime.

    Something is wrong in the code when importing, check it again, otherwise take a one more text variable of text type and assign that value into that field using evaluate function and then transfer that variable to your actual field.

  • M.Sub Profile Picture
    M.Sub 10 on at
    RE: The value "" can't be evaluated into type DateTime.

    The data type of the field is Text[2000]

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,317 Moderator on at
    RE: The value "" can't be evaluated into type DateTime.

    Hi,

    Can you check your field's data type in which you are trying to import that value?

    Thanks

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans