2008 | 08  07  06  05  04  03  02  01  
 
2008 08 20
Amusing
Drawing Illusion
 
    19
FYI
Coldfusion FirstDayOfWeek()
Since ColdFusion doesn't seem to have a FirstDayOfWeek() function (correct me if I'm wrong), here is a little function to get the first day of a given week in the year:
<cffunction name="FirstDayOfWeek">
    <cfargument name="Week" required="yes">
    <cfargument name="Year" required="no" default="#DateFormat(now(),'yyyy')#">
    <cfset fd = Year & "-01-01">
    <cfset nd = DateAdd("ww",Week-1,fd)>
    <cfset ntm = (DayOfWeek(nd) - 1) * -1>
    <cfset nd = DateAdd("d", ntm, nd)>
    <cfreturn nd>
</cffunction>

Usage:
<cfoutput>#FirstDayOfWeek(34,2008)#</cfoutput>

Output:
{ts '2008-08-17 00:00:00'}

Note: This assumes Sunday as the first day of the week. To change it to Monday as the first day, modify the line ntm=(DayOfWeek(nd)-1)*-1 to ntm=(DayOfWeek(nd)-2)*-1 ...
 
    18
Elsewhere
Emily Bear

More...
 
    17
FYI
Home sweet home
Back from Hungary.. What a crazy two weeks. I'll have photos developed soon (mostly black and white)... I might even start a new site for it, or change osenoa up again for the fall season. We'll see. Anyway for now, check out my sister's flickr stream.
 
    04
FYI
In Budapest
Arrived in Hungary safe and sound. Walked around downtown Budapest... man that city has a lot of history. Looking forward to spending the rest of the week exploring the area. Watch my sister's space as she'll probably be posting a few pics soon.
 
    01
Stupid World
What in the hell??
http://cnews.canoe.ca/CNEWS/Canada/2008/07/31/6316716-cp.html