Date format for DatePicker

  1. 6 years ago

    Joel_Eisenstat

    5 Aug 2017 User since 2016

    Hi,
    Just wondering on the date format for the DatePicker. I am getting a runtime error for Postgres 'timestamp without timezone' which seems to be the intended format ' 2017-07-24 00:00:00' for the control.
    dob = rs.pat_dob;
    Console.write(dob);
    dobPick.date = dob; --> 2017-07-24 00:00:00
    dobPick.refresh(); or dobPick.setDateAnimated(date, true);
    Conversion error
    Unable to convert object to Date
    Thanks
    Joel

or Sign Up to reply!