Unix Timestamp to dd-mm-yyyy
Hi,
I have a recordset from which I query:
$query_rs_data = "SELECT time_last_run FROM phpmysqlautobackup";
which I use to output a Date:
<?php echo $row_rs_data['time_last_run']; ?>
The 'time_last_run' value is a Unix timestamp, i.e: 1310250618 (seconds from start of Unix epoch).
How can I output this to page as dd/mm/yyyy instead of 1310250618 (without it outputting 1st Jan 1970).
Help appreciated.