PHP Date Format Confusion
I have this date in my database 11/06/2013 12:00
This is my code and the format I would like it in
$dateformatstart = date_format(date_create($row['datestart']), 'D j M y H:i');
Although it comes back as
Wed 6 Nov 13 12:00, Think the month is the day and day is the month I don't know why
Thanks
I have this date in my database 11/06/2013 12:00
This is my code and the format I would like it in
$dateformatstart = date_format(date_create($row['datestart']), 'D j M y H:i');
Although it comes back as
Wed 6 Nov 13 12:00, Think the month is the day and day is the month I don't know why
Thanks
No comments:
Post a Comment