I am having a problem with saving dates to my database via my VB 6 application.
I have dates automatically put into a textbox when the user clicks "Add notes"
When the button is clicked, the following happens
txtNDate.Text = Format(Date, "yyyy-mm-dd"
It shows up in the text box in this manner, however when I save it to my database (the field in the database is simply a text field in Access2000) it goes in as mm/dd/yyyy. How can I fix this?
How can I get this to go into the database no matter what location a person is in ie in US mm/dd/yyyy and I want to use yyyy-mm-dd no matter which computer it is on?
Please help as soon as is possible.
Thanks you very much.
ambra19
I have dates automatically put into a textbox when the user clicks "Add notes"
When the button is clicked, the following happens
txtNDate.Text = Format(Date, "yyyy-mm-dd"
It shows up in the text box in this manner, however when I save it to my database (the field in the database is simply a text field in Access2000) it goes in as mm/dd/yyyy. How can I fix this?
How can I get this to go into the database no matter what location a person is in ie in US mm/dd/yyyy and I want to use yyyy-mm-dd no matter which computer it is on?
Please help as soon as is possible.
Thanks you very much.
ambra19