View Single Post
  #6  
Old 2nd August 2011, 13:45
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,702
Thanks: 819
Thanked 5,319 Times in 4,172 Posts
Default

you couls also try this:

$myvar = (int)date('m');

or

$myvar = intval(date('m');
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote