<cfset yourdate = "2014/8/8">
<cfset yourdateMonFitstDay = #DateFormat(yourdate,"YYYY/MM/01")#>
<cfoutput>
<CFIF DayOfWeek(yourdateMonFitstDay) IS 1>
該月
第一個周日為: #yourdateMonFitstDay#<Br />
第二個周日為: #dateadd("d",7,yourdateMonFitstDay)#<Br />
<CFELSE>
第一個周日為: #dateadd("d",8-(DayOfWeek(yourdateMonFitstDay)),yourdateMonFitstDay)#><Br />
第二個周日為: #dateadd("d",8-(DayOfWeek(yourdateMonFitstDay))+7,yourdateMonFitstDay)#><Br />
</CFIF>
</cfoutput>