How can I get the number of minutes since a transa...
# suiteql
b
How can I get the number of minutes since a transaction has been created?
s
(CURRENT_DATE - createddate)*24*60
should get you pretty close
Copy code
(CURRENT_DATE - TO_DATE(TO_CHAR(createddate, 'YYYY-MM-DD hh:mi:ss'), 'YYYY-MM-DD hh:mi:ss')) * 24 * 60
seems to be working for me
b
Thank you!