|
PowerBASIC Forums
![]() Cafe PowerBASIC
![]() Allow me to repeat my question?
|
| next newest topic | next oldest topic |
| Author | Topic: Allow me to repeat my question? |
|
Egbert Zijlema Member |
Recently in the Windows-forum we had a discussion on week numbers: http://www.powerbasic.com/support/forums/Forum4/HTML/012994.html A question of mine was: is it true that in Belgium, France, Spain and the UK the first week of the year (week number 1) is the week that contains January 1? This is what my Windows (XP Home Edition, service pack 1) returns. It would not be in line with ISO 8601 though. Nobody replied to that question, maybe simply because PB-programmers from the above mentioned countries did not read that thread. Therefore I like to give it another try, here. Thanks. ------------------ [This message has been edited by Egbert Zijlema (edited January 07, 2006).] IP: Logged |
|
Eddy Van Esch Member |
Hi Egbert, I seem to recollect that according to ISO norms, week 1 is the first week of the year that contains the first thursday of January. Kind regards ------------------ [This message has been edited by Eddy Van Esch (edited January 07, 2006).] IP: Logged |
|
Eric Pearson Member |
> is it true that in Belgium, France, Spain and the UK I don't know about those countries, but in the USA it's an industry thing not a national thing. Some industries traditionally use one system, and other industries use another. For example I come from the TV/radio broadcast industry which defines months as ending on the last Sunday of the calendar month, and week numbers within months are necessarily defined by that standard. ISO standards are wonderful but not everybody uses them. -- Eric [This message has been edited by Eric Pearson (edited January 07, 2006).] IP: Logged |
|
Egbert Zijlema Member |
Eddy, This is correct. ------------------ IP: Logged |
|
Donald Darden Member |
As a matter of idle curiosity, is this a matter of real importance? Assuming that some countries or industriens are defining week numbers for the year one way or another either in compliance or defiance of ISO standards - just how critical or impactive is that? I can't recall a circumstance where a meeting or shipping date Obviously, anybody relying on Microsoft code to determine the In fact, I don't know of any case where someone has used Week It might be a matter of interest, but seems somewhat unnecessary ------------------ IP: Logged |
|
Egbert Zijlema Member |
Hi Donald, This is, indeed, very important, especially in countries where week numbers are printed on calendar sheets. What if every printing company would use its own rules in this respect? And, as a programmer, how can you produce a calendar with correct week numbers when a call to LocaleInfo returns the wrong values for [This message has been edited by Egbert Zijlema (edited January 07, 2006).] IP: Logged |
|
Amílcar Matos Pérez Member |
To Donald: Week numbers are of utmost importance in corporate financial planning, accounting, auditing and different number crunching marketing. When you go into international markets you need to sincronize all your operations, so week numbers are crucial. Thanks. ------------------ IP: Logged |
|
Egbert Zijlema Member |
Just to inform you: new article and new code at http://www.egbertzijlema.nl/programming.html ------------------ IP: Logged |
|
Christopher Carroll Member |
http://konsulent.sandelien.no/VB_help/Week/ From the link: quote: IP: Logged |
|
Mel Bishop Member |
So, if I understand this situation correctly, some years contain week zero and some don't. This doesn't make any sense. I was under the impression that Jan 1 is the day that immediately IMO: What difference does it make and who cares. ------------------ IP: Logged |
|
Egbert Zijlema Member |
There is no week zero. According to ISO-rule 8601, weeks can be numbered from 1 to 53 (inclusive). ------------------ IP: Logged |
|
Eddy Van Esch Member |
quote: Yes, but only in leap years !! ![]()
quote: It makes a difference if you promised a customer to have project X ready in week Y. Except, if your customer and yourself are using different week numbers it's annoying to find out that your project should have been finished in week Y-1 ... Kind regards ------------------ IP: Logged |
|
ian mcallister Member |
No In the UK we only have 1 day per year That's today IP: Logged |
|
Mike Stefanik Member |
So, when you say that your country is over 900 years old... ![]() ------------------ IP: Logged |
All times are EasternTime (US) | next newest topic | next oldest topic |
![]() |
|
Copyright © 1999-2005 PowerBASIC, Inc. All Rights Reserved.