Forrest logo
back to context overview

set-date

List of commands for set-date:

  • set-date:tldr:191d3 set-date: Set the system clock back 10 minutes.
    $ Set-Date -Adjust -0:10:0 -DisplayHint Time
    try on your machine
    explain this command
  • set-date:tldr:71ab1 set-date: Add 90 minutes to the system clock.
    $ $90mins = New-TimeSpan -Minutes ${90}; Set-Date -Adjust $90mins
    try on your machine
    explain this command
  • set-date:tldr:ce750 set-date: Add three days to the system date.
    $ Set-Date -Date (Get-Date).AddDays(${3})
    try on your machine
    explain this command
back to context overview