Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Pascal Delphi Misc > DateUtils WeekO...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 5970 of 6137
Post > Topic >>

DateUtils WeekOfTheYear within any Monday before 1900

by Dr J R Stockton <jrs@[EMAIL PROTECTED] > Jan 28, 2008 at 10:11 PM

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
 




 4 Posts in Topic:
DateUtils WeekOfTheYear within any Monday before 1900
Dr J R Stockton <jrs@[  2008-01-28 22:11:53 
Re: DateUtils WeekOfTheYear within any Monday before 1900
ap <ap@[EMAIL PROTECTE  2008-01-29 11:32:35 
Re: DateUtils WeekOfTheYear within any Monday before 1900
Dr J R Stockton <jrs@[  2008-01-30 13:04:19 
DateUtils WeekOfTheYear within any Monday before 1900, etc.
Dr J R Stockton <jrs@[  2008-02-18 13:03:38 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Sep 5 12:25:20 CDT 2008.