Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Date Formats Wrong

Posted on 1997-03-11
1
406 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

829 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