Solved

Date Formats Wrong

Posted on 1997-03-11
1
407 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
[X]
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
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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
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…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

749 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