I am trying to import a txt file and the data is 2005-02-09 13:30:36.493000000 and iam using datatype as datetime and iam getting error ---> "The date is not valid".
what can i do in this case is this region issue or anything else!!
I am trying to import a txt file and the data is 2005-02-09 13:30:36.493000000 and iam using datatype as datetime and iam getting error ---> "The date is not valid".
what can i do in this case is this region issue or anything else!!
Hi,
You can try below code
Hi
you need to Remove Red marked value because its take only 3diget for millisecond 2005-02-09 13:30:36.493000000
Please check URL : https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/datetime/datetime-data-type
Import as text, the evaluate into DateTime using XML-format (9).
André Arnaud de Cal...
292,884
Super User 2025 Season 1
Martin Dráb
231,758
Most Valuable Professional
nmaenpaa
101,156
Moderator