I have a mysql driven webpage showing future events and meetings. However, at the moment the start dates and end dates are displayed as 10-10-2002 and 12-10-2002. See below:-
Code: Select all
<?php
// Print the dates for the event
$rowї"startd"] = substr($rowї"start_date"], 8, 2) . "-" .
substr($rowї"start_date"], 5, 2) . "-" .
substr($rowї"start_date"], 0, 4) . " ";
$rowї"endd"] = substr($rowї"end_date"], 8, 2) . "-" .
substr($rowї"end_date"], 5, 2) . "-" .
substr($rowї"end_date"], 0, 4);
?>Thanks in advance.
Bob.H.