.... :o) otay... Maybe it'll make more sense that way, when I try to wrap my thick head around it...
Rick > -----Original Message----- > From: S.Isaac Dealey [mailto:[EMAIL PROTECTED] > Sent: Monday, April 11, 2005 3:10 PM > To: CF-Talk > Subject: RE: Last Week... > > > Argh! I am not having a good day today am I? ... > > In my previous message, just imagine that every time I said "monday" I > was saying "sunday" and you'll be fine. :) > > > Not quite sure I grasp that, Isaac...would that only work > > if it were run on the second day of the week? > > > Rick > > >> -----Original Message----- > >> From: S.Isaac Dealey [mailto:[EMAIL PROTECTED] > >> Sent: Monday, April 11, 2005 2:04 PM > >> To: CF-Talk > >> Subject: Re: Last Week... > >> > >> > >> > Could anyone tell me the most efficient way to get the > >> > start and end dates of the past full week? > >> > >> > Thanks! > >> > >> > >> <cfset firstdayofthisweek = > >> dateadd("d",dayofweek(now())-1,now())> > >> > >> From there you can add -7 days to get the first day of > >> last week or -1 > >> day to get the last day of last week. > > > s. isaac dealey 954.522.6080 > new epoch : isn't it time for a change? > > add features without fixtures with > the onTap open source framework > > http://macromedia.breezecentral.com/p49777853/ > http://www.sys-con.com/author/?id=4806 > http://www.fusiontap.com > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202254 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

