Solved

Date Format?

Posted on 2000-04-11
2
126 Views
Last Modified: 2010-04-04
How do I enforce an APPLICATION WIDE date format for both editing and displaying, for eg 'dd/mm/yyyy'?
0
Comment
Question by:Diono
2 Comments
 
LVL 17

Accepted Solution

by:
inthe earned 50 total points
ID: 2705601
HI,
The best way is to add the following line to the DPR (Project/View Source on menu )

ShortDateFormat := 'dd/mm/yyyy' ;
 
plus you will have to add Sysutils to the uses statement of the dpr.
Regards Barry
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 2706854
also don't forget to set also the var DateSeparator to '/'
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

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…
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…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

816 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

8 Experts available now in Live!

Get 1:1 Help Now