| : | Javascript | : | PHP Index | : | MySQL | : |
| : | Source | : | : | Explanation | : | : | Example | : | : | Todo | : | : | Feedback | : |
Feedback on date difference
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