Posts Tagged ‘week number’

How do I find the date a week starts given the week number

Wednesday, June 25th, 2008

I came accross this problem recently while developing a time tracking application.

Typically, I have found that when viewing timesheets people prefer to be able to see the week at a glance. For this reason I will normally store them in a database with three int (day (From 1-7), Week (From 1-53) and year (From 0001 to 9999)). This allows me to easilly pull a two dimensional array from the database for output into the virtual timesheet

(more…)