info about link
: Javascript : PHP Index : MySQL :
date difference
: Source : : Explanation : : Example : : Todo : : Feedback :

Feedback on date difference

name: Ron
email: rpcv_[dot]_ronw_[at]_gmail
Looked at your date difference script and believe that
// amount of days this month has
$daysThisMonth = date("t", $startDate);

should be
// amount of days this month has
$daysThisMonth = date("t", $startSeconds);

The startDate isn't as a timestamp which the date function needs.
-Ron


06-01-2008 @ 17:36
Name
Email
Homepage
Comment
Type the shown code:
=[Disclaimer]=     © 2005-2012 Excudo.net