cards
Decks
Matt Tew's deck
Sign in
Sign up
Menu
next card
Go back to all cards in this deck
back
previous card
Calculate number of days between 2 dates in php
Posted
2012-03-22
. Visible to the public.
$days = (strtotime("2005-11-20") - strtotime(date("Y-m-d"))) / (60 * 60 * 24);
Matt Tew
Say thanks
Last edit
2012-03-23
Tags
dates
,
php
Posted by Matt Tew to Matt Tew's deck (2012-03-22 20:43)
This website uses short-lived cookies to improve usability.
Accept
or
learn more