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]

Reply via email to