I have a variable that outputs the date in the following format:
201308131830
Which is 2013 - Aug - 13 - 18:30
I am using this to retrieve the day name but it is getting the wrong days:
$dayname = date('D', strtotime($longdate));
Any idea what I am doing wrong?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…