0
DROP ROUTINE IF EXISTS "AddTimeToDate";

CREATE FUNCTION AddTimeToDate
(date1 date,
time1 as Time)
RETURNS Timestamp
BEGIN
  return CAST(CAST(date1 AS DOUBLE PRECISION) + CAST(time1 AS DOUBLE PRECISION) AS TIMESTAMP)
END
Category: 
SQL Functions & Procedures
Current Version: 
1.00
Supported Products: 
NexusDB V2
NexusDB V3
Home