Jump to content

Time format issue


thecase

Recommended Posts

Hi

 

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

Link to comment
https://forums.phpfreaks.com/topic/278698-time-format-issue/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.