Solved

TDate and Year 2000

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
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…

810 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