I'm Trying to get the current date plus 7 days to display.
Example: Today is August 16, 2012, so this php snippet would output August 23, 2012.
$date = strtotime($date);
$date = strtotime("+7 day", $date);
echo date('M d, Y', $date);
Right now, I'm getting: Jan 08, 1970. What am I missing?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…