Print Page | Close Window

ISO week numbers

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=5278
Printed Date: 26 June 2024 at 11:33am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: ISO week numbers
Posted By: zeko78
Subject: ISO week numbers
Date Posted: 12 October 2006 at 8:18am
Hi,
 
As far as I can see the Calendar control only supports "simple week numbers", week one is the week with January 1st in it.
 
In most of (or all of) Europe we use ISO week numbers. In my country (Norway) week numbers is heavily used, and the end user expects ISO week numbers in a calendar.
 
So, my question is: Is it possible to get support for ISO week numbers in the calendar control?
 
The definition for ISO week 1 is:
Week 1 is the week that includes January 4th.
 
Here's a link to an C algorithm:
http://www.proesite.com/timex/wkcalc.htm - http://www.proesite.com/timex/wkcalc.htm
(look for "From the simple week number to the ISO week number")
 
 
Best regards,
Gøran



Replies:
Posted By: SuperMario
Date Posted: 12 October 2006 at 9:13am
Maybe you want wndDatePicker.FirstWeekOfYearDays = 4 for first 4 day week?


Posted By: zeko78
Date Posted: 12 October 2006 at 9:21am
Thank you very much, that was just what I needed



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