Change system date formate runtime



using Microsoft.Win32;

//then
RegistryKey rkey = Registry.CurrentUser.OpenSubKey(@"Control Panel\International", true);
rkey.SetValue("sShortDate", "M/d/yyyy");
rkey.Close();

No comments: