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 inthe BDE Configuration Manager rather than trying to do it all in code. This is muchmore direct, but it will affect all your other database applications.

Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

Recent Articles: