If I do the following calculations
Code: Select all
$i_str_date = '31/10/1979';
echo "<br/>".$i_str_date;
echo "<br/>".strtotime($i_str_date);
echo "<br/>".strftime('%c',strtotime($i_str_date));
echo "<br/>".date('Y-m-d',strtotime($i_str_date));Code: Select all
31/10/1979
363567600
10/07/1981 00:00:00
1981-07-10Code: Select all
setlocale (LC_TIME, "uk");Any suggestions other than parsing the string out and re-ordering it?
Thanks