Hi
Does anyone know how I can enter a time into a datetime field with no date. The query I am using is as follows
Insert into TRIPS (ship,dep_date,sail_time,return_time,sail_from,destination,adult_price,senior_price) VALUES ('TEST','6/21/2001','10:05 AM','1:05 PM','Inverness','Glasgow',10,5)
This, however, this inserts the date as
1/1/1900 10:05:00 AM
Help gratefully appreciated
Dave
Does anyone know how I can enter a time into a datetime field with no date. The query I am using is as follows
Insert into TRIPS (ship,dep_date,sail_time,return_time,sail_from,destination,adult_price,senior_price) VALUES ('TEST','6/21/2001','10:05 AM','1:05 PM','Inverness','Glasgow',10,5)
This, however, this inserts the date as
1/1/1900 10:05:00 AM
Help gratefully appreciated
Dave