well, ydate will output like 6/21/2006 depending on what sort
of day value you want...
eg
#DateFormat(ydate, 'DDDD')# will give you Wednesday
#DateFormat(ydate, 'DDD')# will give you Wed
#DateFormat(ydate, 'DD')# will give you 09 (if today was the
ninth)
#DateFormat(ydate, 'D')# will give you 21
#Day(ydate)# will give you 21
#Dayofweek(ydate)# will give you 4
but, if you are going to be using it in your document i would
just set another variable.
<cfset ydateDay = DateFormat(Now(), "d")>
hth