Short Date Format in Windows

(imported topic written by samuel7791)

Hi, is there any way to get the short date format which windows is currently using?

rdgs,

Samuel

(imported comment written by BenKus)

Hi Samuel,

Can you explain this a little more please? I am not sure I understand your question.

Ben

(imported comment written by samuel7791)

hmm… in windows there’s a short date format.

Usually this is set to M/d/YYYY by default

sometimes this may become d/M/YYYY instead.

I would like to track this cause some applications cant work with the other.

rdgs,

Samuel

(imported comment written by jeremy_spiegel91)

It sounds like you’re thinking of the short date format that is returned from the Windows GetDateFormat function when you pass the DATE_SHORTDATE flag and a specific Locale.

The format that is returned depends on the Locale that is passed to the function. Usually an application will call this function asking for the date formatted in the user default locale so that it can display a date to the user according to the preference chosen in the Regional and Language Options Control Panel.

The “user locale” inspector is probably what you want.