Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Relational Databases
Expertise: Beginner
May 9, 1997

Date formatting with shortdateformat

Question:
I'm using Delphi 2.0. My application changes the date format with ShortDateFormat:='dd/mm/yyyy' and dateseparator functions. It works, but I found that when I change the taskbar's ontop or autohide properties, the system's regional settings formats override mine. I'm using these dates in a DBGrid, and I arranged the columns with this format. I want to use it permanently.

Answer:
For permanent data format changes, you'd be better off changing the format in the BDE Configuration Manager rather than trying to do it all in code. This is much more direct, but it will affect all your other database applications.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date