Hi all,
The user enters the date in an Input form. How do I change the format from 20 January, 2006 to 20/01/2006
Thanks.
Kevin.
Read up on Date and Time Functions.
<? echo date("d/m/Y", strtotime(str_replace(',','',"20 January, 2006"))); ?>