I’m pulling DateValue data from a database and setting a WebDatePicker with the value, and it works fine as long as the column has the data as yyyy-mm-dd (which it should be, but it isn’t always because . . . Well, reasons…).
How can I go about testing the data and, if it isn’t valid, fixing it by adding the mm or dd data (which I’m fine being January 1st for any entries that need fixing).
Right now I’m pulling data with this:
Any help would be appreciated.