Problem with DateTime2

Discussion of open issues, suggestions and bugs regarding EntityDAC
Post Reply
jwrz
Posts: 12
Joined: Mon 22 Aug 2016 05:30

Problem with DateTime2

Post by jwrz » Thu 27 Jul 2017 09:36

Hi, I have problem with DateTime field. Default server type for DateType field is DateTime2(7). In delphi is represent by TDateTime.
While saving created entity to DB I have error: "Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another".

When I manualy change field type in DB to DateTime, everything is ok.

MaximG
Devart Team
Posts: 974
Joined: Mon 06 Jul 2015 11:34

Re: Problem with DateTime2

Post by MaximG » Thu 27 Jul 2017 13:03

For investigation, please compose and send us a small sample where the problem occurs. In addition, we will need a script to create DB objects used in this sample, as well as the used model via the e-support form (https://www.devart.com - the menu "Support" \ "Request Support")

Post Reply