How to change the default date and time format in powershell?


  1. Posts : 39
    10 (home edition)
       #1

    How to change the default date and time format in powershell?


    For clarification: I don't mean change the computer's date and time format via Powershell but rather how to permanently change the default display of date and time inside Powershell (that is displayed when you list the contents of files and folders or type get-date to in order to see just the date and time and so forth. I want the format to change from PM/AM to 24 hour format. And also change other stuff (like the separator from / to something else for example.
      My Computer

  2. Macboatmaster's Avatar
    Posts : 1,303
    11, 10, 8.1 and 7 all Professional versions, and Linux Mint
       #2

    All settings
    Time and Language
    Date and Time Regional formatting
    change data formats

    select as you wish on the drop down boxes - note the time and date shown there is NOT the present time and date or the date on files, but changes there wil be implemented - across the board
      My Computer


  3. Posts : 39
    10 (home edition)
    Thread Starter
       #3

    thanks!
    Last edited by jerriy; 4 Weeks Ago at 19:36.
      My Computer

  4. Macboatmaster's Avatar
    Posts : 1,303
    11, 10, 8.1 and 7 all Professional versions, and Linux Mint
       #4

    jerriy said:
    thanks!
    Cheers
    Did it work as you wanted it to, the separator / can be changed to -
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 14:13.
Find Us




Windows 10 Forums