I have a SQL Table with a column of “Date” type. When I query it in SQL all that is returned is a date which is what I need. When I do the same query in Ignition its adding a time to the date rather than just returning the date. I tried using the SQL convert to date but that didn’t work either.
Basically I need to populate a date picker date based on an sql entry but its not working since its coming in as a date time format.
What happens when you change props.pickerType = date (default is datetime)?
So I think i’ve narrowed it down to having something to do with the transform script on my dataset. As you can see under the selection field, the date looks like it comes in as a string maybe. What I am doing is populating a table and when the user selects a row, the date picker changes to what the date column is set to on the table.
I solved my own issue. Figured out I didn’t need to use a transform script and now the date comes into my field correctly. All is well. Thanks!