How Do I Get TODAY in Powershell

April 4, 2023 ยท View on GitHub

Just get Today via:

[datetime]::today

(As we are accessing the static member today from the class datetime

See also

  • How Do I Get the Current Time or Current Date or TODAY in Powershell
  • Date format in powershell
  • How do you parse a date in powershell?