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

Login

Who's Online

260 user(s) are online (179 user(s) are browsing Support Forums)


Members: 0


Guests: 260


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits