Summary: Use Windows PowerShell to display the culture-specific format for a short date.
How can I use Windows PowerShell to display the format of a short date that is specific to the culture settings
of my system?
Use the Get-Culture cmdlet and select the DateTimeFormat and ShortDatePattern properties:
(Get-Culture).DateTimeFormat.ShortDatePattern
0 comments