I'm trying to get the month, six months out from the current date.
I've tried using:
date('d', strtotime('+6 month', time()));
But it doesn't seem to work, always returns 01
. Is there a better way to do this?
Thank you!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…