OK, so you use DayOfWeek() along with Hour(). On Wed, May 14, 2008 at 1:47 PM, Nate Willard <[EMAIL PROTECTED]> wrote: > Dave & James. > > This is for a time tracker tool, so I would like the weekend to start Friday > at 6pm... Is there anyway to do a DateCompare for a set date range? > > The weekend being Fri 6pm - Sunday 10pm? > > Thanks! > > > > ----- Original Message ---- > From: Dave Francis <[EMAIL PROTECTED]> > To: CF-Talk <[email protected]> > Sent: Tuesday, May 13, 2008 9:27:16 PM > Subject: RE: DateCompare or Diff? To determine if the Current Date is the > Weekend or a Weekday > > Check out DayOfWeek(Now()). IIRC 1=Sun, 7=Sat > > -----Original Message----- > From: Nate Willard [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 13, 2008 8:38 PM > To: CF-Talk > Subject: DateCompare or Diff? To determine if the Current Date is the > Weekend or a Weekday > > > Any suggestions on how to determine on Request, if the current date/time is > a weekday or weekend? > > Thanks > > > > > > >
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305218 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

