时间函数
时间转换函数
TO_DATE('201-08-01 00:00:00','%Y-%m-%d %H:%M:%S')
示例:
INSERT INTO informix.table_name(date1,column_name)
VALUES(TO_DATE('201-08-01 00:00:00','%Y-%m-%d %H:%M:%S'),'0')
GO
时间计算
SELECT time1,time1+ INTERVAL(1) HOUR TO HOUR FROM informix.table_name
选择时间time1,time1+1个小时