Solved

Date Format?

Posted on 2000-04-11
2
123 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
Comment Utility
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
Comment Utility
also don't forget to set also the var DateSeparator to '/'
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Delphi 10 Seattle Dataset Actions 5 71
Newbie Thread Programming 1 116
FMX enumerated colours 2 70
How to debug For loops? 3 33
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…
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…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

762 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

10 Experts available now in Live!

Get 1:1 Help Now