Mailinglisten-Archive |
* BendAR wrote:
> bei MySQL gibt es ja DATE_ADD um ein Datum in einem bestimmten Intervall
> (1,2,...Tage) hoch zu zählen. Gibt es das auch unter PHP? Im Manual hab
> ich dazu nur DATE gefunden, und das gibt ja nur das Datum formatiert aus.
> Vielen Dank :)
http://www.php.net/mktime + http://www.php.net/date
Beispiel:
print date("d.m.Y",mktime(0,0,0,date('m'),date('d')+3,date('Y')));
--
Schnellanbindung an 350 Standorte?! CaseStudy anfordern unter:
transaktionsserver at emailseminar.de
ThinkPHP / rent-a-phpwizard bjoern at thinkphp.de
Sedanstraße 27 Tel: 0931 / 78 43 804
97082 Würzburg Fax: 0931 / 78 43 795
http://www.thinkphp.de/ http://www.rent-a-phpwizard.de/
php::bar PHP Wiki - Listenarchive