hi,
I have a datetime field 'LastActivationTime' and I want to create a query that add 1 to different field every half an hour from current time. I tried the following:
DATE_FORMAT(LastActivationTime,'%H:%i:%s') + 0.5 < DATE_FORMAT(now(),'%H:%i:%s').
Can I do that? Can I put LastActivationTime which is a datetime field istead os a string? why doesn't it work?
Thaks
Jo
I have a datetime field 'LastActivationTime' and I want to create a query that add 1 to different field every half an hour from current time. I tried the following:
DATE_FORMAT(LastActivationTime,'%H:%i:%s') + 0.5 < DATE_FORMAT(now(),'%H:%i:%s').
Can I do that? Can I put LastActivationTime which is a datetime field istead os a string? why doesn't it work?
Thaks
Jo