Page 1 of 1

Problem with DateTime2

Posted: Thu 27 Jul 2017 09:36
by jwrz
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.

Re: Problem with DateTime2

Posted: Thu 27 Jul 2017 13:03
by MaximG
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")