or you can use this nice little UDF from cflib.org
http://www.cflib.org/udf.cfm?ID=330
and rather than give it a +1 for next week, you can give it a -1 for
last week and so on...
hth
tw
On Apr 11, 2005 2:03 PM, S. Isaac Dealey <[EMAIL PROTECTED]> wrote:
> > 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:202223
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