knew there had to be a simple answer.
thanks Matt.
-----Original Message-----
From: Matthew Fusfield [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 26, 2004 4:53 PM
To: CF-Talk
Subject: Re: Simple Date Function Question...at least I think it is.
Try something like this:
<cfif week(now()) MOD 2>
WEEK IS EVEN
<cfelse>
WEEK IS ODD
</cfif>
Matt
On Thu, 26 Aug 2004 16:48:44 -0400, Che Vilnonis <[EMAIL PROTECTED]> wrote:
> What would be the easiest way to write code to determine whether the
current
> week of the year is even or odd?
> I am looking to display two different groups of images, each group being
> displayed every other week.
>
> Thanks, Che
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

