I am using a MS Datepicker to capture a date and need to save it to my SQLdb as a sting in the following format: yyyymmdd. How do I convert the value from the DateTimePicker either in VB or in SQL?
I'm using a DB that was built years ago and don't have much flexibility to change it. The original designer did it this way and I am trying to work within the bounds that I have.
, you should save it as aDateTime` so it acts like aDateTimeand doesnt need the be converted when reading or writing.