View Single Post
  #11  
Old 12th September 2011, 12:44
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,982 Times in 3,903 Posts
Default

I guess with the code:

$awmonth = date("m"+1-1);

you like to have the month without leading 0, so that it is 1 instead of 01? In that case it might be better to use this:

$awmonth = date("n");
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Sponsored Links