Hi,
In my Table Transformer, I would like to calculate the number of days since Created.
The following select statement produces what you see in the attached.
SELECT FORMATDATE(NOW()), FORMATDATE(T1.'Created') FROM T*
However, the below produces nothing. What am I missing?
SELECT FORMATDATE(NOW()) - FORMATDATE(T1.'Created') FROM T*
Thank you.
UPDATE: From one of the online post, I was able to find the answer.
(CAST(ROUND(ceiling(DATEDIFF(DAY,T1.'Created',NOW())))as int))