Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

How to compare the time and date of any file

$
0
0
Local $TempFileDate = FileGetTime(@ScriptDir, 0 );returns the time and date information for a file
Local $JobLastRun = $TempFileDate[0] & "/" & $TempFileDate[1] & "/" & $TempFileDate[2] & " " & $TempFileDate[3] & ":" & $TempFileDate[4] & ":" & $TempFileDate[5]
MsgBox(0, '', _NowCalc() & @CRLF & $JobLastRun & @CRLF & _DateDiff("n", $JobLastRun, _NowCalc()))
MouseClick("middle", 878, 611, 1, 0)
Send("{ENTER}")
Send("!s")

Using the above script i can compare the time (minute) But how can i save it?

Viewing all articles
Browse latest Browse all 12506

Trending Articles



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