Discussion in 'PHP' started by red_fiesta, May 3, 2007.
if <? print date('m')?> returns this months date how do i return last months date? Thanks
<? print date('m', strtotime('-1 Month')); ?> PHP:
<? print date('m', strtotime('-1 Month')); ?>
Separate names with a comma.