Newsgroups : Borland : borland.public.delphi.rtl.win32 : 2008 Apr : decodeDate bug OR just me?

www.cryer.info
Managed Newsgroup Archive

decodeDate bug OR just me?

Subject:decodeDate bug OR just me?
Posted by:"Jason Chapman" (jason@no_jac2._spam.co.uk)
Date:16 Apr 2008 09:41:50

I am on D7.  I am calling
with vdt = 26th jan 2019 or 43491 to be precise
DecodeDate(vdt,y,m,d);

gives me:

y=2019
m=65531
d=26
which is clearly a bit out m should be 1.

Is this a known bug, or just my pc / copy of Delphi


--
Jason Chapman
JAC2 Consultancy
Development - Consultancy - Training
Delphi, InterBase, Firebird, OOAD, Development lifecycle assistance,
Troubleshooting projects, QA.....
Web: www.jac2.co.uk

Replies:

www.cryer.info
Managed Newsgroup Archive