Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Find Amount of Time Between Two Dates

$
0
0

Summary: Learn how to use Windows PowerShell to find the amount of time between two dates.

Hey, Scripting Guy! Question How can I use Windows PowerShell to determin how many days until
            Windows PowerShell Saturday on March 19, 2016 in Tampa?

Hey, Scripting Guy! Answer There are many ways to find the difference between two dates. I use the [datetime] type accelerator
           and subtraction, for example:

[datetime]'3/19/16' - [datetime]::now

 


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>