1
tonypward
Date format
  • 2013/3/15 13:30

  • tonypward

  • Just popping in

  • Posts: 1

  • Since: 2013/3/15


I can't seem to get my head around getting the date format right

I am trying to put this:
<?php echo $row_rsNewsItems['news_date']; ?> which comes up with the default date as: yyyy-mm-dd hh:mm:ss
to standard format of dd/mm/yyyy
Can someone point me in the right direction. such as

format ['news_date'] as dd/mm/yyy

regards
Tony