I am using mysql version 4.1.13 and I keep getting a 1064 syntax error on this query.
select * , timediff(in , out) as timespent from `timesheet`
the table structure is
date, in, out,
date is a standard date column, in and out are time columns,
I am just trying to get the difference between the hours and minutes.
Thanks,
select * , timediff(in , out) as timespent from `timesheet`
the table structure is
date, in, out,
date is a standard date column, in and out are time columns,
I am just trying to get the difference between the hours and minutes.
Thanks,