Dale,
I realise that, but the problem is that the value for Saturday is 7. So <cfset day = DayOfWeek(now()) /> So the comparision or logic would be is <cfif (day lte 6 and day gt 0) or day eq 7> A working week <cfelse> Weekend </cfif> Mind you this is off the top of my head Andrew Scott Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dale Fraser Sent: Wednesday, 6 June 2007 4:33 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: Get Working Week Problem is my Week ends on Friday. Not Satuarday. Regards Dale Fraser http://dalefraser.blogspot.com From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Scott Sent: Wednesday, 6 June 2007 4:17 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: Get Working Week Which part are you not getting to work? This is a very common JS Calendar problem that has been solved that many times... A bit more info on why you think it is not working would be good. Or even code example maybe. Andrew Scott Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dale Fraser Sent: Wednesday, 6 June 2007 4:00 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Get Working Week I need to get working week. Which for me is Sat - Fri. I can't get it to work in all situations and am missing something really obviousl. Have a look here, but read my comments, doesn't work. http://ray.camdenfamily.com/index.cfm/2007/6/5/Ask-a-Jedi-What-day-is-Wednes day Regards Dale Fraser http://dalefraser.blogspot.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~----------~----~----~----~------~----~------~--~---