How do I get 'date-1' formatted as mm-dd-yyyy using PowerShell?

后端 未结 0 1722
一生所求
一生所求 2021-02-11 17:21

How does one get date-1 and format it to mm-dd-yyyy in PowerShell?

Example: If today is November 1, 2013, and I need 10-31-2013 in my code.

I\'ve used A

相关标签:
回答
  • 消灭零回复
提交回复
热议问题