MySQL interesse |
|
de timezone staat juist "Europe/Brussels"
ombouwen naar 04/15/2007 ???????
is dit nu net niet de bedoeling van "DateTime"?
om 15/04/2007 om te zetten in 2007/04/15
dus volgende code deed de truuk
$date_in =$row_rsdate['AFNdat'];
$date_up = explode("/",$date_in);
$newdate = date("Y-m-d",mktime(0,0,0,$date_up[1],$date_up[0],$date_up[2]))."\n";
echo $newdate;
$date_in =$row_rsdate['AFNdat']; $newdate = date("Y-m-d",mktime(0,0,0,$date_up[1],$date_up[0],$date_up[2]))."\n";
leuke snippet
|