Solved

Date Format?

Posted on 2000-04-11
2
124 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

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

Suggested Solutions

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
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.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

930 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

14 Experts available now in Live!

Get 1:1 Help Now