Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Use PowerShell to Display Locale-Specific Date

$
0
0

Summary: Learn how to use Windows PowerShell to display the date in locale-specific format.

Hey, Scripting Guy! Question How can I use Windows PowerShell to display the day, month, and two-digit year in locale specific format?

Hey, Scripting Guy! Answer Use the Get-Date cmdlet and the –uformat parameter:

get-date -UFormat %x


Viewing all articles
Browse latest Browse all 3333

Trending Articles