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
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
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 php date
You are not signed in. Login or sign up in order to post.