(C#) date/time format based on region

Hi, all -

I'm maintaining some code where the original developer has inserted lots of hardcoded values for date/time formatting (like "MM/dd/yyyy HH:mm:ss"). Fine for people in the US, but now we need to share this application with people in Japan, Taiwan and other places.

I'd like to replace these hard-coded strings with a variable that is set from the Windows "Region and Language" settings. It appears that the CultureInfo object is the way to go here, but I can't figure out how to extract the current Format setting. Can someone shed some light on this for me?
Topic archived. No new replies allowed.