Re: Calendar_Day is Sunday?

From: Date: Thu, 12 Feb 2004 15:47:34 +0000
Subject: Re: Calendar_Day is Sunday?
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-10649@lists.php.net to get a copy of this message
On 12 Feb 2004 at 15:39, Michael Wallner wrote: > is there a neat short way, I don't know of, > to determine if a Calendar_Day is a Sunday? Make timestamp from your date using mktime() and then feed that into getdate. Will give you also "wday" (weekday) where 0 represents a Sunday. Regards, Stefan

« previous php.pear.general (#10649) next »