RE: days in a month

2003-02-18 Thread Bryan Love
FYI - sometimes people find themselves running the same loop over and over again in a page. For example if you have a page that lets the user pick 4 or 5 different dates then you might find yourself looping over the days in a month 4 or 5 times. In times like this it is much faster to run the

RE: days in a month

2003-02-18 Thread Raymond Camden
> It makes sense if what I'm about to say is correct... your > code loops over the variable #firstday# 31 times and > #firstday# takes the value of the index named "firstday" each > time it loops. Err - yea - kinda. Your wording is a bit convaluted - but maybe it's just me. Think of it like th

RE: days in a month

2003-02-18 Thread Tim Laureska
loops. Now, Tony's code is a bit more refined than mine because it outputs the number of days in the month we're currently in, correct? -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 3:52 PM To: CF-Talk Subject: RE: days in

RE: days in a month

2003-02-18 Thread Tony Weeg
monitoring, mapping & reporting www.navtrak.net 410.548.2337 -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 3:52 PM To: CF-Talk Subject: RE: days in a month To make things easier, let's remove the HTML and just do:

RE: days in a month

2003-02-18 Thread Tony Weeg
ting www.navtrak.net 410.548.2337 -Original Message- From: Tim Laureska [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 3:55 PM To: CF-Talk Subject: RE: days in a month Thanks to all that responded... Raymond yours appeared the easiest... I need to understand loops bette

RE: days in a month

2003-02-18 Thread Raymond Camden
PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda > -Original Message- > From: Tim Laureska [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 18, 2003 2:55 PM > To: CF-Talk > Subject: RE: da

RE: days in a month

2003-02-18 Thread Tim Laureska
# -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 3:18 PM To: CF-Talk Subject: RE: days in a month You are calling the daysInMonth function on a number, not a real date, and you don't need it anyway. Just change the option li

Re: days in a month

2003-02-18 Thread Matthew Walker
a" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, February 19, 2003 9:24 AM Subject: days in a month > Hello. I'm trying to simplify the code for a drop down list of total # > of possible days in a month (31). to look something like what

RE: days in a month

2003-02-18 Thread Tony Weeg
ting www.navtrak.net 410.548.2337 -Original Message- From: Tim Laureska [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 3:25 PM To: CF-Talk Subject: days in a month Hello. I'm trying to simplify the code for a drop down list of total # of possible days in a month (31)

Re: days in a month

2003-02-18 Thread ksuh
#theDay# - Original Message - From: Tim Laureska <[EMAIL PROTECTED]> Date: Tuesday, February 18, 2003 1:24 pm Subject: days in a month > Hello. I'm trying to simplify the code for a drop down list of > total # > of possible days in a month (31). to look som

RE: days in a month

2003-02-18 Thread Raymond Camden
03 2:25 PM > To: CF-Talk > Subject: days in a month > > > Hello. I'm trying to simplify the code for a drop down list > of total # of possible days in a month (31). to look > something like what I'm using to display months in a year, > which looks like this: >

days in a month

2003-02-18 Thread Tim Laureska
Hello. I'm trying to simplify the code for a drop down list of total # of possible days in a month (31). to look something like what I'm using to display months in a year, which looks like this: #MonthasString(firstmonth)# I tried the code below but it only returns the number