You can achieve the same thing without making multiple trips by including the timestamp in the WHERE clause of the UPDATE or DELETE.
Better would be to use a stored procedure and pass the timestamp as a parameter. The stored procedure can then do the logic has you describe but without making multiple trips across the wire.
-Mike