Loading ...
Sorry, an error occurred while loading the content.

1012Re: [ISO8601] ISO 8601 -- 1000

Expand Messages
  • Pat Monahan
    Nov 3, 2004
    • 0 Attachment
      Consider the date stamp CCYYWW which uses a week code WW
      Does the year only increment when the week code is week code " 01 "?

      For example " 20050101 " [ 01-Jan-05 ] is a Saturday. Week code " 01"
      for 2005
      does not occur until the following Monday " 20050103 " [ 03-Jan-05 ].

      Is " 200453 " the correct CCYYWW date stamp for the week that includes
      20050101 [ 01-Jan-05 ] ?
      The CCYYWW date stamp for the week that includes 20050103 [ 03-Jan-05
      ] is " 200501"

      Regards,
      Pat

      . Is the date stamp for 20050101
      On 3 Nov 2004, at 13:13, John Steele wrote:

      > It should be week 52.  The assertion that it is always week 53 is
      > wrong (sometimes it is). Better text would be:
      >     If the week containing January 1 has
      >     four or more days in the new year, then it is
      >     considered week 1; otherwise, it is considered the last week
      >     of the previous year, and the next week is week 1
      >     of the new year.
      >  
      > Lyngmo Ted <ted.lyngmo@...> wrote:
      >
      > Ian wrote:
      > >
      > Ps.
      > Does anyone here have any experience with AIXs strftime() function? I
      > don't think it conforms to neither ISO C99 (ISO/jan-C 9899:1999),
      > POSIX.2-1992 nor ISO 8601:1988.
      >
      > AIX 5L Version 5.3:
      >
      > %V  Represents the week number of the year (with Monday
      >     as the first day of the week) as a decimal number  four or more
      > days in the new year, then it is
      >     considered week 1; otherwise, it is considered week
      >     53 of the previous year, and the next week is week 1
      >     of the new year.
      >
      > 2000-01-01 is therefor reported as week 53 and not week 52. This is
      > wrong, isn't it?
      >
      >
      >
      > Yahoo! Groups Sponsor
      >
      > ADVERTISEMENT
      > <image.tiff>
      > <image.tiff>
      >
      > Yahoo! Groups Links
      >
      > • To visit your group on the web, go to:
      > http://groups.yahoo.com/group/ISO8601/
      >  
      > • To unsubscribe from this group, send an email to:
      > ISO8601-unsubscribe@yahoogroups.com
      >  
      > • Your use of Yahoo! Groups is subject to the Yahoo! Terms of
      > Service.
      >
      >
    • Show all 24 messages in this topic