i have a custom listing and want my date to look like d-m-Y
i've seen other post but for some reason there solutions aint working for me
i have this in my body area:
how ever this shows 1-1-1970 (default date)
i think it does not retrieve the correct value and thus it returns NULL wich will explain the
1-1-1970
any sugestions?
i've seen other post but for some reason there solutions aint working for me
i have this in my body area:
<?php
$datum = strtotime($row['leskaart.AANSCHAFDATUM']);
$datum = date('d-m-Y', $datum);
?>
<tr>
<td width=30%>{users.username}</td>
<td>{leskaart.INSTRUMENT_NAAM}</td>
<td><?php echo $datum; ?></td>
<td>{leskaart.AANTAL_LESSEN}</td>
</tr>
how ever this shows 1-1-1970 (default date)
i think it does not retrieve the correct value and thus it returns NULL wich will explain the
1-1-1970
any sugestions?