I have a vision power table with a date column. I am selecting a row in this table to copy to another table by using system.dataset.addRow. It looks like during this process the date is changed to unicode. How can I prevent this?
Example, 8/20/21, 10:51:25 AM to 2021-08-20 10:51:25.000
Edit v8.1.5
Is it really a string? A date object can be formatted in either of those ways, depending on the table’s configuration.
Yes, I requested the type and it was unicode.
I understand my problem, I was adding to a blank table that didn’t know the data types. It must treat unknowns as strings.
Consider using the DatasetBuilder in such cases to explicitly declare your column types.
2 Likes