Re: DayofWeek()
This function returns 6 for me: #myday# Try checking the DATE on the server. - Original Message - From: "David E. Crawford" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Friday, May 12, 2000 11:01 AM Subject: DayofWeek() > I am apparently having problems with the Dayofweek function. According to > the language reference manual, it returns the ordinal of the week, as an > integer, ranging from 1 (Sunday) to 7 (Saturday). By my calculations, > Friday should return 6. Today I am doing some testing and I am getting 4 > back from this function call: dayofweek(now()). > > Am I losing my mind, or is there an error in the documentation? I have > tried this on 2 CF servers with the same result. > > Dave > > > -- > Archives: http://www.eGroups.com/list/cf-talk > To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Re: DayofWeek()
Friday, May 12, 2000, 11:24 am is what one server is set to. The other is set as Friday May 12, 2000, 15:24 (UTC). Dave - Original Message - From: Randy Adkins <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 12, 2000 15:13 Subject: Re: DayofWeek() > This function returns 6 for me: > > > #myday# > > Try checking the DATE on the server. > > - Original Message - > From: "David E. Crawford" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Friday, May 12, 2000 11:01 AM > Subject: DayofWeek() > > > > I am apparently having problems with the Dayofweek function. > According to > > the language reference manual, it returns the ordinal of the week, as > an > > integer, ranging from 1 (Sunday) to 7 (Saturday). By my calculations, > > Friday should return 6. Today I am doing some testing and I am > getting 4 > > back from this function call: dayofweek(now()). > > > > Am I losing my mind, or is there an error in the documentation? I > have > > tried this on 2 CF servers with the same result. > > > > Dave > > > > > > > > -- > > > Archives: http://www.eGroups.com/list/cf-talk > > To Unsubscribe visit > http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk > or > send a message to [EMAIL PROTECTED] with 'unsubscribe' > in > the body. > > > -- > Archives: http://www.eGroups.com/list/cf-talk > To Unsubscribe visit > http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk > or send a message to [EMAIL PROTECTED] with > 'unsubscribe' in the body. > -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Re: DayofWeek()
and using the same function of Dayofweek for Now() returns 4?? - Original Message - From: "David E. Crawford" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 12, 2000 11:24 AM Subject: Re: DayofWeek() > Friday, May 12, 2000, 11:24 am is what one server is set to. The other is > set as Friday May 12, 2000, 15:24 (UTC). > > Dave > > - Original Message - > From: Randy Adkins <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, May 12, 2000 15:13 > Subject: Re: DayofWeek() > > > > This function returns 6 for me: > > > > > > #myday# > > > > Try checking the DATE on the server. > > > > - Original Message - > > From: "David E. Crawford" <[EMAIL PROTECTED]> > > To: "CF-Talk" <[EMAIL PROTECTED]> > > Sent: Friday, May 12, 2000 11:01 AM > > Subject: DayofWeek() > > > > > > > I am apparently having problems with the Dayofweek function. > > According to > > > the language reference manual, it returns the ordinal of the week, as > > an > > > integer, ranging from 1 (Sunday) to 7 (Saturday). By my calculations, > > > Friday should return 6. Today I am doing some testing and I am > > getting 4 > > > back from this function call: dayofweek(now()). > > > > > > Am I losing my mind, or is there an error in the documentation? I > > have > > > tried this on 2 CF servers with the same result. > > > > > > Dave > > > > > > > > > > > > > -- > > > > > Archives: http://www.eGroups.com/list/cf-talk > > > To Unsubscribe visit > > http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk > > or > > send a message to [EMAIL PROTECTED] with 'unsubscribe' > > in > > the body. > > > > > > -- > > Archives: http://www.eGroups.com/list/cf-talk > > To Unsubscribe visit > > http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk > > or send a message to [EMAIL PROTECTED] with > > 'unsubscribe' in the body. > > > > -- > Archives: http://www.eGroups.com/list/cf-talk > To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Re: DayofWeek()
Disregard all after brain cramp. I was outputting the result of a listfindnocase, which returned 4, as the position in the list. My head hurts from smacking it against the keyboard. Dave - Original Message - From: Randy Adkins <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 12, 2000 15:42 Subject: Re: DayofWeek() > and using the same function of Dayofweek for Now() returns 4?? > > - Original Message - > From: "David E. Crawford" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, May 12, 2000 11:24 AM > Subject: Re: DayofWeek() > > > > Friday, May 12, 2000, 11:24 am is what one server is set to. The > other is > > set as Friday May 12, 2000, 15:24 (UTC). > > > > Dave > > > > - Original Message - > > From: Randy Adkins <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Friday, May 12, 2000 15:13 > > Subject: Re: DayofWeek() > > > > > > > This function returns 6 for me: > > > > > > > > > #myday# > > > > > > Try checking the DATE on the server. > > > > > > - Original Message - > > > From: "David E. Crawford" <[EMAIL PROTECTED]> > > > To: "CF-Talk" <[EMAIL PROTECTED]> > > > Sent: Friday, May 12, 2000 11:01 AM > > > Subject: DayofWeek() > > > > > > > > > > I am apparently having problems with the Dayofweek function. > > > According to > > > > the language reference manual, it returns the ordinal of the week, > as > > > an > > > > integer, ranging from 1 (Sunday) to 7 (Saturday). By my > calculations, > > > > Friday should return 6. Today I am doing some testing and I am > > > getting 4 > > > > back from this function call: dayofweek(now()). > > > > > > > > Am I losing my mind, or is there an error in the documentation? I > > > have > > > > tried this on 2 CF servers with the same result. > > > > > > > > Dave > > > > > > > > > > > > > > > > > > > -- > > > > > > > Archives: http://www.eGroups.com/list/cf-talk > > > > To Unsubscribe visit > > > > http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk > > > or > > > send a message to [EMAIL PROTECTED] with > 'unsubscribe' > > > in > > > the body. > > > > > > > > > > -- > > > Archives: http://www.eGroups.com/list/cf-talk > > > To Unsubscribe visit > > > > http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk > > > or send a message to [EMAIL PROTECTED] with > > > 'unsubscribe' in the body. > > > > > > > > > -- > > > Archives: http://www.eGroups.com/list/cf-talk > > To Unsubscribe visit > http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk > or > send a message to [EMAIL PROTECTED] with 'unsubscribe' > in > the body. > > > -- > Archives: http://www.eGroups.com/list/cf-talk > To Unsubscribe visit > http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk > or send a message to [EMAIL PROTECTED] with > 'unsubscribe' in the body. > -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Re: DayofWeek()
Use #dateformat(now(),"")# Chris Giminez Owner - Cyber Scriber Web Site Design 831-728-4469 ICQ# 2628000 > I am apparently having problems with the Dayofweek function. According to > the language reference manual, it returns the ordinal of the week, as an > integer, ranging from 1 (Sunday) to 7 (Saturday). By my calculations, > Friday should return 6. Today I am doing some testing and I am getting 4 > back from this function call: dayofweek(now()). > > Am I losing my mind, or is there an error in the documentation? I have > tried this on 2 CF servers with the same result. > > Dave > > > -- > Archives: http://www.eGroups.com/list/cf-talk > To Unsubscribe visit >http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. > -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.