Entrypoint timetodouble compatible with UTF-8
Input TIMESTAMP date optionally time Output DOUBLE timestamp as floatingpoint (infront of dot 0, after dot time; 1.0 = 24 h)
TestSQL SELECT 0.59375 AS ISCORRECT, F_TIMETODOUBLE('15.04.2007 14:15:00') FROM RDB$DATABASE; SELECT NULL AS ISCORRECT, F_TIMETODOUBLE(NULL) FROM RDB$DATABASE;