![]() |
Week number |
Post Reply ![]() |
Author | |
gpm1 ![]() Groupie ![]() ![]() Joined: 06 June 2006 Status: Offline Points: 54 |
![]() ![]() ![]() ![]() ![]() Posted: 27 December 2006 at 12:19pm |
Hi.
In the calendar control I can set first day of week ( Monday, Sunday, etc. ), but how can I set first week of year. There are several type of it: First day of week First week of year contains Weeks assigned twice Used by/in -------------------+-----------------------------------------------+---------------------+--------------- Monday 1 January, 1st Sunday, 1–7 days of year yes Most of Europe Wednesday 1 January, 1st Tuesday, 1–7 days of year yes Saturday 1 January, 1st Friday, 1–7 days of year yes Sunday 1 January, 1st Saturday, 1–7 days of year yes USA Monday 4 January, 1st Thursday, 4–7 days of year no ISO 8601 Monday 7 January, 1st Monday, 7 days of year no Thanks. |
|
![]() |
|
sserge ![]() Moderator Group ![]() Joined: 01 December 2004 Status: Offline Points: 1297 |
![]() ![]() ![]() ![]() ![]() |
Hi,
You have to use FirstWeekOfYearDays property to set what you need. For example, it should be assigned to 4 for Europe usage. See following topic for details of how it works: http://forum.codejock.com/forum_posts.asp?TID=5351 -- WBR, Serge |
|
![]() |
|
gpm1 ![]() Groupie ![]() ![]() Joined: 06 June 2006 Status: Offline Points: 54 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Thanks for answer. |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |