Thread [DOS-Batch] Berechneten Zeitraum in Batch einsetzen (36 answers)
Opened by Frederick at 2012-09-02 14:26

Gast gast
 2012-09-02 17:35
#161559 #161559
Powershell:
Code: (dl )
1
2
3
4
$dateinput = read-host "Datum:"
$then = [dateTime]::Parse($dateinput)
$now = [dateTime]::Now
($then - $now).Seconds

Last edited: 2012-09-02 17:40:19 +0200 (CEST)

View full thread [DOS-Batch] Berechneten Zeitraum in Batch einsetzen