tm_duration_dec_day
ptrb edited this page May 29, 2013
·
2 revisions
tm_duration_dec_day( PostTIME ) : double precision
This function calculates the duration of one object and returns the result in decimal days as double.
SELECT tm_duration_dec_day('2013-5-30T8/2013-5-30T12:45');
-- result
0.197916666666667
| CAL | TCS | ORD ---|---|---|--- TM_Instant | ✔ | ✔ | ✗ TM_Period | ✔ | ✔ | ✗ MultiInstant | ∼ | ∼ | ✗ MultiPeriod | ∼ | ∼ | ✗ RegularMultiInstant | ∼ | ∼ | ✗ RegularMultiPerid | ∼ | ∼ | ✗ ✔ : Processable
✗ : Call will cause an error
∼ : Callable without error, but returns only a pseudo result