Enter your email address:

    Delivered by FeedBurner

Friday, February 27, 2009

PHP: Get Last Date of the Month

This small but terrible function returns the last day of the month.

cal_days_in_month(CAL_GREGORIAN, $month, $year);



CAL_GREGORIAN - calendar to use
$month - month of the last day to return
$year - yearof the last day to return


This saves the case and if =)



=)

0 comments:

Post a Comment

About Me

My photo
I provide health supplements, adult wellness products, glutathione, and other merchandise. Please visit my online shop at: http://luckycowshop.blogspot.com/