Wednesday, June 22, 2011

Last and first day of the week

In a project I had to find out if a specific date was the first or last day of the week. Also, here in Norway we have Monday as the first day of the week, but in USA they use Sunday. I wanted my code to support this as well.