Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

MYSQL HOT TO COUNT THE DURATION BETWEEN TWO DATES

To count the difference between dates in MySQL, use the DATEDIFF(enddate, startdate) function. The difference between startdate and enddate is expressed in days.
 
PREVIOUS NEXT
Tagged: #MYSQL #HOT #TO #COUNT #THE #DURATION #BETWEEN #TWO #DATES
ADD COMMENT
Topic
Name
5+3 =