I have a TIMESTAMP attribute in a BO that, right now, I am showing on a query. Works fine.
I would like to separate it into two columns on the query; one for date and one for time.
So, I add a calculated column with the expression: DATE_PART(Hearings.DateScheduled) and set it as type Date.
When the query runs nothing shows up in the column.
Is it not possible to do what I am trying to do?
I also tried converting it to a string with: AS_STRING(DATE_PART(Hearings.DateScheduled), 'MM/dd/yyyy').
But I get an error saying it is an invalid expression.
Am I missing something here?