Hi
Can anyone see what is wrong with this:
<?php echo date_format($row_rs_propdetails['add_date'],'Y-m-d'); ?>
The error message I get is: Warning: date_format() expects parameter 1 to be DateTime,
Any help would be much appreciated.
Basically wanting to bring back the date in add_date column, but just the y-m-d with no time.
Many thanks