PowerTip: Use PowerShell to Display Locale-Specific Date

PowerTip: Use PowerShell to Display Locale-Specific Date

  • Comments 2
  • Likes

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

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • Great

  • @Aleksandar thank you. I am glad you liked it.