Use PowerShell to Figure Out “What day of the week is it 39 (or some other number) days from now?”

There’s lots of fun things you can do with datetime objects in PowerShell, and using the Get-Date cmdlet. Here’s one of them.

Say you want to know what day of the week it will be some arbitrary number of days from now. It’s pretty easy.

At the time I write this, it looks like in 39 days, it’ll be Friday.

Leave a Reply