我需要显示本周,下周和周后的星期二的日期。如何获得当前周在php当前月份的数量
例如,
$first_date = date('m/d/y',strtotime('tuesday this week')); =>result => '01/10/13'
$second_date = date('m/d/y',strtotime('tuesday next week')); =>result => '08/10/13'
$third_date = -----This one i needed-------- =>result => '15/10/13'
可能这会帮助你 http://stackoverflow.com/questions/5853380/php-get-number-of-week-for-month – whyte624
你是说'd/m/y'而不是'm/d/Y'? – MLeFevre
你的意思是你想在本周的第三周找到星期二? – vascowhite