Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

how to get the time diffrence from givn times in file

$
0
0

I have file with below data, I want to get the highest time difference from this using PowerShell.

STARTTIME:2018-12-01 04:13:15
ENDTIME:2018-12-01 04:17:15
-----------------------
----------------------
STARTTIME:2018-12-01 04:11:15
ENDTIME:2018-12-01 04:13:15
------------------------
-----------------------
STARTTIME:2018-12-01 04:10:15
ENDTIME:2018-12-01 04:10:40


Viewing all articles
Browse latest Browse all 21975

Trending Articles



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