Re: date, "first of next month"?

From: Date: Wed, 26 Feb 2003 22:05:24 +0000
Subject: Re: date, "first of next month"?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-137310@lists.php.net to get a copy of this message
On Wed, 26 Feb 2003, 1LT John W. Holmes wrote: |You would think strtotime("first of next month") would work, but it doesn't. |This does: | |$t = mktime(0,0,0,date('m')+1,1,date('Y')); | |Gives you timestamp of first day, next month. Format accordingly with |date(). Thats great, worked perfectly! Thank you very much :) Heres a tough one, is there such a say to now get the date of the first weekday after that date? Thanks again, Bryan

« previous php.general (#137310) next »