12-14-2004 01:32 AM
12-14-2004 02:31 PM
12-30-2004 02:10 PM
12-30-2004 08:40 PM
12-31-2004 10:49 AM
12-31-2004 07:52 PM
@pawel wrote:
Hi Rolf
I am very interested in this vi, can you post it on this newsgroup. (You forgot it last time 🙂
regards
Pawel
01-01-2005 06:33 AM
01-03-2005 08:41 AM
01-04-2005 03:52 AM
07-10-2006 01:09 PM
Hi,
I'm a bit of a latecomer to this discussion, but I have a need to get the fiscal week of the year (ISO 8601). After downloading the "ISO Week Number.vi" and testing the crossover dates of December 31st and January 1st over a number of years, I found that it had problems with 8 of every 28 years (all involving leap years). I used the calendar at http://timeanddate.com/calendar/ to verify the week and day numbering. That calendar can be set to display the ISO 8601 week numbers and just about any calendar format. The original VI
from Rolf Kalbermatter was a great start and I appreciate the start that it gave me but it took a quite a bit of time to test (although the fixes were quick) and to get it to where it would be useful to me. So, I am going to post a new version that should be more useful to others as well.I corrected the year end transition week numbering problems and also added additional code to synchronize the year with the week on the output.
The original VI returned a date/time cluster with the weekday adjusted for ISO definition as well as an additional week number according to the ISO definition. I added year number and day of week number outputs wired to the connector and updated the year in the date/time cluster. I disconnected the date/time cluster from the connector since the month, day of month, and day of year are still not synchronized to the ISO 8601 calendar (and it seems to depend somewhat on the accounting system used.) Anyway the year, week of year, and day of week are all accounted for in my VI. I am also including the test routine I used to show both the December 31st and January 1st ISO 8601 dates at the same time for testing.Paul Eshman