Retrieving the System date and time settings

  • Thread starter Thread starter Tull Clancey
  • Start date Start date
T

Tull Clancey

Hi all.

I'm having real trouble finding a simple solution for getting the system
date and time settings.

All I want to retrieve is the system short date format, is it dd/mm/yyyy or
mm/dd/yyyy or yyyy/mm/dd. I can find many articles talking about changing
date formats, but nothing for actually getting the setting.

Anything would be gratefully received! (VB.Net 2003/2005)

Cheers,
Tull.
 
The ease of VB:
just use: My.Application.Culture.DateTimeFormat

You'll have all you need (and a lot more!)
 
Back
Top