Mailinglisten-Archive |
Alexander Schott schrieb: > wie kann ich von > gmDate(format); eine Stunde abziehen. http://www.php.net/manual/function.date.php3 It is possible to use date() and mktime() together to find dates in the future or the past. Example 2. date() and mktime() example $tomorrow = mktime(0,0,0,date("m") ,date("d")+1,date("Y")); $lastmonth = mktime(0,0,0,date("m")-1,date("d"), date("Y")); $nextyear = mktime(0,0,0,date("m"), date("d", date("Y")+1); -- Kristian Köhntopp, NetUSE Kommunikationstechnologie GmbH Siemenswall, D-24107 Kiel, Germany, +49 431 386 436 00 Using PHP3? See our web development library at http://phplib.shonline.de/ (GPL)
php::bar PHP Wiki - Listenarchive