Count how many days
If you have a date from x to y, and you want to count how many days from that date, you can use function strtotime at php.
You can try like below:
$from = "2007-05-1";
$to = "2007-05-3";
86400 is seconds in a day (24 hours x 60 minutes x 60 seconds).
If you count that date, your result will be 2 days.
AccessFileName directive for Apache
Passing value from child window to parent
AuthDigestRealmSeed directive for Apache
AcceptMutex directive for Apache
Redirect with htaccess
PHP feof() Function
AuthType directive for Apache
htaccess at Windows
|© 2001 - 2018 Tatamedia Solusindo ||