Solved

TDate and Year 2000

Posted on 1998-11-26
2
189 Views
Last Modified: 2010-04-04
This is just a general Question, I wonder if the TDate Formats of Delphi 4 are Year 2000 compatible, also the Delphi 4 compiled EXE-Files. If not, is there any way to avoid this problem ?
0
Comment
Question by:omsec
2 Comments
 
LVL 12

Accepted Solution

by:
rwilson032697 earned 0 total points
ID: 1347975
Borland/Inprise have a Y2K statement on their web site for Delphi - it is compliant (I think both D3 and D4 are comliant)

Cheers,

Raymond.
0
 
LVL 6

Expert Comment

by:Stuart_Johnson
ID: 1347976
By using the ShortDateFormat command in your main forms Create Procedure, you can make Delphi use the long dates (DD/MM/YYYY or MM/DD/YYYY etc).

Just do something like:

ShortDateFormat := 'MM/DD/YYYY';

That makes your program use the long dates.

Stu.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

947 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now