add hours to datetime mysql code example Example: Add 2 hours to current time in MySQL SELECT * FROM courses WHERE DATE_ADD(NOW(), INTERVAL 2 HOUR) > start_time