Solved

Date Formats Wrong

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

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 The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

757 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now