hwg-techniques archives | Mar 2002 | new search | results | previous | next |
a php date questionby "Michael Gerholdt" <gerholdt(at)fredonia.edu> |
|
Any one know why this: <? $i = date("M",mktime(0,0,0,date("m")-1,date("d"),date("Y")));?> usually returns last month, but not if it is, for example, the 31st of a month ... in which case it returns the present month? thanks, Mike
HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA