How to format a date in CDT?

Asked

Viewed 23 times

1

How do I set a date in this format Tue, 3 May 2016 12:49:24 -0500 (CDT) look like this 03/05/2016?

1 answer

1


I was able to find a solution:

date('d/m/Y', strtotime('Tue, 3 May 2016 12:49:24 -0500 (CDT)'));

Browser other questions tagged

You are not signed in. Login or sign up in order to post.