Re: date HELP !!!!!
| From: | Henrik Hansen | Date: | Mon, 23 Jul 2001 07:51:58 +0000 |
| Subject: | Re: date HELP !!!!! | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-59148@lists.php.net to get a copy of this message | ||
sjdtmv@tpg.com.au (Reductor) wrote:
> $todaydate = date("m");
> $tomorrowdate = date("m",time() + 86400);
> if($todaydate != $tomorrowdate){
> echo "Tomorrow is a new month";
>}
or
if (date("d") == date("j"))
echo "last day";
or something else :)
> ----- Original Message -----
> From: Yamin Prabudy <phplist@pro.net.id>
> To: <php-general@lists.php.net>
> Sent: Monday, July 23, 2001 5:27 PM
> Subject: [PHP] date HELP !!!!!
>
>> hi,
>> how do i check that the current date is the end of month
>>
>> Thanks in Advance
>>
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
>> For additional commands, e-mail: php-general-help@lists.php.net
>> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>>
--
Henrik Hansen