Solved

Date Formats Wrong

Posted on 1997-03-11
1
405 Views
Last Modified: 2010-04-04
My copy of Delphi is refusing to display dates in the format defined in Control Panel|Regional Settings.

I've checked the shortdatetime format variable at runtime and it's m/d/y format, not d/m/y as I have set in the control panel.

I've also checked in the registry, and it's entered correctly there.  Anyone got any ideas?

Thanx,

     Kirk.
0
Comment
Question by:Kirk_Gray
1 Comment
 
LVL 2

Accepted Solution

by:
javiertb earned 100 total points
ID: 1334743
You can use FormatDateTime function or you should check your win.ini file and look for the [intl] section where the variable sShortDate must be d/m/y.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
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 …

803 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