CPB Mailing List
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
TDateTime
To all:
A quick question: I have been using the 'StrToDate()' function to access user
input from an edit box
'TDateTime dt = StrToDate(Edit1->Text)'
When I enter a date like '06/10/03' using the European convention 'dd/mm/yy' and
use the 'DecodeDate()' function to peek into the TDateTime variable dt, I find
the year '1903'!?
I can't believe BCB has a year 2000 problem so any tips on getting out the right
date?
TIA
Cheers
Email Disclaimer
The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorised.
If you are not the intended recipient, any disclosure, copying, distribution
or any action taken or omitted to be taken in reliance on it, is prohibited
and may be unlawful. When addressed to our clients any opinions or advice
contained in this email are subject to the terms and conditions expressed in
the governing KPMG client engagement letter.
W Komornicki's Home Page |
Main Index |
Thread Index