note 5082 modified in getdate by ronabop

From: Date: Fri, 20 Oct 2000 06:05:57 +0000
Subject: note 5082 modified in getdate by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-6736@lists.php.net to get a copy of this message
If you need sth like "Tomorrow" "last week" etc. try this: $tomorrow = mktime(0,0,0,date("m"),date("d") +1,date("Y")) $last_week = mktime(0,0,0,date("m"),date("d") -7,date("Y")) etc. if works also at the end /beginning of a month. http://www.php.net/manual/function.getdate.php

« previous php.notes (#6736) next »