Mailinglisten-Archive |
> > $time = mktime(dein datum) > > $time = $time + mktime(deine tage anzahl) > > echo date('Y-m-d H:i:s',$time) > > Ich bekomme immer folgende Fehlermeldung: > Parse error: parse error in /home/hcj/www/date.php on line 2 Description int mktime (int hour, int minute, int second, int month, int day, int year [, int is_dst]) RTFM function.mktime.html echo date ("M-d-Y", mktime (0,0,0,12,32,1997)); echo date ("M-d-Y", mktime (0,0,0,13,1,1997)); echo date ("M-d-Y", mktime (0,0,0,1,1,1998)); echo date ("M-d-Y", mktime (0,0,0,1,1,98)); date -- Format a local time/date Description string date (string format [, int timestamp]) kiri ________________ 8307 305 165 1781
php::bar PHP Wiki - Listenarchive