Problem with DateTime2

Problem with DateTime2

Postby 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.
Posts: 11
Joined: Mon 22 Aug 2016 05:30

Re: Problem with DateTime2

Postby 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 ( - the menu "Support" \ "Request Support")
Devart Team
Posts: 842
Joined: Mon 06 Jul 2015 11:34

Return to EntityDAC