Task to translate 03-19-2015 into the format 19/03/2015 using Php
*be careful the m/d/Y not to be confused with d/m/Y
*be careful the / in the function may result in error, always use \/
$NEWASSIGN[‘ExpectedDate’] = "03-19-2015"
if (isset($NEWASSIGN[‘ExpectedDate’])){
$ConvertDate = $NEWASSIGN[‘ExpectedDate’];
$newDate = date("m\/d\/Y", strtotime($ConvertDate));
}