When I want to divide a time into integer I get this error: ERROR: operator does not exist: timestamp with time zone / integer
.
Is there any function in postgres to divide the time to the integer?
For example: "2013-11-14 07:46:15+03:30"
is the timestamp with time zone and I want the output of "2013-11-14 07:46:15+03:30" / 2 = "1991-12-08 17:38:07.5+03:30"