Tag Archives: dates

Date Subtraction or Difference

Sometimes you need to know the differences between two dates in days months years whatever. SQL SERVER select datediff(day,date1, date2) as days_diff, datediff(month,date1, date2) as months_diff… Can also do year, quarter, week, hour, minute, and second dateparts. Dates can be … Continue reading

Posted in Code, Coldfusion, Javascript, JQuery, Snippets, SQL | Tagged | Comments Off on Date Subtraction or Difference