Answered
Date/Time Sheet Application
I need to create a timesheet application. I am having trouble
creating the time slots for the date entries. I need to figure out
the week and output the days for that week. For instance, this week
is 26. Therefore I need the application to spillout the dates from
Sunday the 25 of June through the 1st of July.
I used the following to breakup the date:
<cfset tday = DateFormat(Now(), "mm/dd/yyyy")>
<cfset yr = DatePart("yyyy", tday)>
<cfset dy = DatePart("d", tday)>
<cfset mn = DatePart("m", tday)>
<cfset wday = DatePart("w", tday)>
<cfset wk = DatePart("ww", tday)>
I am confused on how to get the dates to be outputed from the week we are in.
Please help.
Thank you very much.
Sevor Klu
I used the following to breakup the date:
<cfset tday = DateFormat(Now(), "mm/dd/yyyy")>
<cfset yr = DatePart("yyyy", tday)>
<cfset dy = DatePart("d", tday)>
<cfset mn = DatePart("m", tday)>
<cfset wday = DatePart("w", tday)>
<cfset wk = DatePart("ww", tday)>
I am confused on how to get the dates to be outputed from the week we are in.
Please help.
Thank you very much.
Sevor Klu
