Switch day and month in date php

ndvblrfeoh

New Member
I have string holding a date like \[code\]$date_1 = '24/12/2010 23:59:59';\[/code\]I want to convert it to\[code\] $dte_2 = '12/24/2010 23:59:59';\[/code\]What would be the fastest way to do this in php
 
Top