Print Page | Close Window

Week number

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=5924
Printed Date: 03 May 2024 at 2:30pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Week number
Posted By: gpm1
Subject: Week number
Date 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.





Replies:
Posted By: sserge
Date Posted: 14 January 2007 at 3:03pm
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 - http://forum.codejock.com/forum_posts.asp?TID=5351

--
WBR,
Serge


Posted By: gpm1
Date Posted: 15 January 2007 at 1:58am
Hi,
Thanks for answer.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net