% is the mod operator in cf.

year mod 4

('year', btw isn't really a good variable name... it's also the name
of a built in function.  same for day and month).

On Jan 13, 2008 11:05 AM, Richard White <[EMAIL PROTECTED]> wrote:
> Hi,
>
> i have done most of it but the difficulty i am having is, like i said, with 
> the pattern matching and also the line:
>
> isleap = (year % 4 eq 0 and (year % 100 neq 0 or year % 400 eq 0));
>
> mainly the % signs
>
> thanks
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:296502
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to