<cfif week(now()) MOD 2 GT 0>
#week(now())# - Odd
<cfelse>
#week(now())# - Even
</cfif>
</cfoutput>
-----Original Message-----
From: Che Vilnonis [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 26, 2004 4:49 PM
To: CF-Talk
Subject: Simple Date Function Question...at least I think it is.
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]

