Summary: Learn how to use Windows PowerShell to display date formatting for a specific culture.
How can I use Windows PowerShell to see the short date pattern for a specific culture without
changing my UI culture settings?
Use the CultureInfo class from System.Globalization, call the GetCultureInfo static method
while passing a culture number, and choose the ShortDatePattern property from the DateTime
format object, for example:
[System.Globalization.CultureInfo]::GetCultureInfo(1031).DateTimeFormat.ShortDatePattern
0 comments