JSI Tip 1210. There is no 4 digit "Short date style" in "Regional Settings"?

If Control Panel / Regional Settings / Date tab does not contain a 4 digit Short date style, just click in the text box and type MM/dd/yyyy (or dd/MM/yyyy) and click OK.

You can also configure this in the registry by setting sShortDate to one of the above strings. See tip 170 for doing this in a batch.

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish