Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

Add 2 hours to current time in MySQL

SELECT * 
FROM courses 
WHERE DATE_ADD(NOW(), INTERVAL 2 HOUR) > start_time
 
PREVIOUS NEXT
Tagged: #Add #hours #current #time #MySQL
ADD COMMENT
Topic
Name
2+4 =