How to manipulate Date in PowerShell?

PowerShellMicrosoft TechnologiesSoftware & Coding

To add/remove date from the date string you need to use AddDay() method. For example,

We need to add 6 days to the current date.

25 March 2020 22:40:36

To go back to the specific number of days, the same AddDays() method will be used but the numbers are negative.

 For example,

13 March 2020 22:45:34
Published on 20-Mar-2020 11:37:56