i have some trouble doing dates substractions on Oracle database.
I have a query:
select status, id, to_char(creationdatetime,\'yyyy/mm/dd hh24:mm:ss\'
You are displaying the dates with an incorrect format.
mm is the month, not minutes. So you are repeating the month in the time display.
mm
You want: 'yyyy/mm/dd hh24:mi:ss' (note the mi in the format mask)
'yyyy/mm/dd hh24:mi:ss'
mi