[Chicago-talk] Date operator question.

Steven Lembark lembark at wrkhors.com
Tue Jul 5 21:05:17 PDT 2005



-- Richard Reina <richard at rushlogistics.com>

> Anyone know of a n easy way to get the last day of a
> given month?

First day of the following month - 1.

$next_month = $curr_month % 12 + 1;


-- 
Steven Lembark                                       85-09 90th Street
Workhorse Computing                                Woodhaven, NY 11421
lembark at wrkhors.com                                     1 888 359 3508


More information about the Chicago-talk mailing list