Board index » delphi » INSERT DATE type
aleplgr
![]() Delphi Developer |
INSERT DATE type2007-04-05 12:26:37 AM delphi224 Hi! I am getting an overflow error for the MYDATE variable in this instruction: INSERT INTO TEMP (CLIENTID,MYDATE,FLAG) VALUES (:MYCLIENT,:MYDATE,1); the de{*word*81} shows that it tries to insert doing this: INSERT INTO TEMP (CLIENTID,MYDATE,FLAG) VALUES (1,CAST ('01/13/2007' AS DATE),1); but the de{*word*81} also shows MYDATE variable as 13/01/2007, why does it reverse the day and the month to insert? MYDATE type is DATE I'm in IB 7.5 |