Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.

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



Application Security Testing: An Integral Part of DevOps

Date formatting with shortdateformat

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.

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.



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