Pages
(Move to ...)
Home
Java
Android
Php
Cake PHP
jQuery
Grails
All Pages
▼
Showing posts with label
datediff
.
Show all posts
Showing posts with label
datediff
.
Show all posts
Tuesday, April 9, 2013
How to calculate the difference between two dates using PHP
›
$date1 = "2007-03-24"; $date2 = "2009-06-26"; $diff = abs(strtotime($date2) - strtotime($date1)); $years = floor($di...
›
Home
View web version