Hi,
I'm using MS-Access as my back-end & the app. is in VFP8.
The application's set Date is British.
Current date is "02/09/2004"
When I run the following code:
In Access, UpdatedOn is populated with "09/02/2004" incorrectly instead of the correct "02/09/2004".
The format for the "Lastdone" field is set to dd/mm/yyyy.
When I retrieve this date from Access for displaying, It shows up as "09/02/2004" :-(
Could someone please guide me on where I'm going wrong and what is to be done to get the updating work properly?
Thanks and Regards,
Rajesh
I'm using MS-Access as my back-end & the app. is in VFP8.
The application's set Date is British.
Current date is "02/09/2004"
When I run the following code:
Code:
lnRes=SQLEXEC(Handle,"Insert into LastDone (UpdatedOn) VALUES ("+"#"+DTOC(DATE())+"#)")
In Access, UpdatedOn is populated with "09/02/2004" incorrectly instead of the correct "02/09/2004".
The format for the "Lastdone" field is set to dd/mm/yyyy.
When I retrieve this date from Access for displaying, It shows up as "09/02/2004" :-(
Could someone please guide me on where I'm going wrong and what is to be done to get the updating work properly?
Thanks and Regards,
Rajesh