Solved

TDate and Year 2000

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
oracle global variables 4 76
Dev express lookupcombo 3 35
Multi-layered image in FireMonkey 9 49
Slow Restore if incremental backups using RDiff.exe 4 31
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

820 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