In Delphi 7 at least, DateUtils (ISO8601) WeekOfTheYear used for within any Monday before 1900 gives a wrong week. And is inelegant. See <news:borland.public.delphi.language.delphi.general> "Does DataUtils.WeekOfYear have an error?", <URL:http://qc.codegear.com/wc/qcmain.aspx?d=57477>, <URL:http://www.merlyn.demon.co.uk/del-prgg.htm>, and then <URL:http://www.merlyn.demon.co.uk/programs/del-wkno.pas>, which has good code (but test it), working in cheap Delphi 3 without Maths too. -- (c) John Stockton, London, UK. ?@[EMAIL PROTECTED] Delphi 3 Turnpike 6.05 <URL:http://www.merlyn.demon.co.uk/> TP/BP/Delphi/&c., FAQqy topics & links; <URL:http://www.bancoems.com/CompLangPascalDelphiMisc-MiniFAQ.htm> clpdmFAQ; <URL:http://www.borland.com/newsgroups/guide.html> news:borland.* Guidelines