Hi, > >> The first week of a year is, by convention, the first week that contains > >> the first Tuesday of the year. > > > For example, according to ISO 8601 I think the first week of a year is > > the first week that has four or more days on the new year. > > > This seems to contradict what Pierre wrote above. > > I think these are to ways to explain the exact same thing. If a week > don't contain the first Tuesday of the year, this week don't havea > least 4 days on the new year. > > StartOfTheWeek() / EndOfTheWeek() functions in Delphi DateUtils are > ISO 8601 compliant. > > http://docwiki.embarcadero.com/VCL/XE2/en/DateUtils.StartOfTheWeek > http://docwiki.embarcadero.com/VCL/XE2/en/DateUtils.EndOfTheWeek
Guys, I think it's better to discuss tracker items in the tracker. I'll leave my comment there ;-) Paul Vinkenoog ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel