Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

find difference in dates sql

SELECT DATEDIFF(day, date1,date2) AS DateDiff
/*
DATEDIFF accepts three arguments
1- day, month, year etc what form you need difference
2,3- dates 
*/
 
PREVIOUS NEXT
Tagged: #find #difference #dates #sql
ADD COMMENT
Topic
Name
5+4 =