Hi Brad,
Just to try and outline in a way that even I am getting confused, which may be the terminology of time!
In the table we have a time field,, lets call it 'table time'
the we have the server time,, lets call it 'clock time'
My objective is to extract all records and display them where they are no more than 10minutes old.
e.g
if the clock time is say 09:15
set my reference at -10 minutes which will be 09:05 (RefTime)
a record where 'table time' is 09:10 would be selected (True)
a record where 'table time' is 09:02 would not (False)
so my thoughts were select where 'table time' > (RefTime)
...........
your previous reply helped but returned no records
SELECT *FROM TABLE WHERE CurrentTime = CURTIME() - INTERVAL 600 SECOND
so we removed the - INTERVAL 600 SECOND
and it returned all records correctly forward of clock time, which is great, but we need that extra 10minute buffer as above....
we all feeling fuzzy as its late on a saturday eve...so any idea would be great...
many thanks for you anticipated help.
Dereck