Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - ISO week numbers
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ISO week numbers

 Post Reply Post Reply
Author
Message
zeko78 View Drop Down
Groupie
Groupie


Joined: 21 August 2006
Location: Norway
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote zeko78 Quote  Post ReplyReply Direct Link To This Post Topic: ISO week numbers
    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:
(look for "From the simple week number to the ISO week number")
 
 
Best regards,
Gøran
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 12 October 2006 at 9:13am
Maybe you want wndDatePicker.FirstWeekOfYearDays = 4 for first 4 day week?
Back to Top
zeko78 View Drop Down
Groupie
Groupie


Joined: 21 August 2006
Location: Norway
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote zeko78 Quote  Post ReplyReply Direct Link To This Post Posted: 12 October 2006 at 9:21am
Thank you very much, that was just what I needed
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.250 seconds.