Solved

TDate and Year 2000

Posted on 1998-11-26
2
187 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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
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.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

744 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

11 Experts available now in Live!

Get 1:1 Help Now