Jump to content

Is Timestamp feature available on AutoIT?


Recommended Posts

Guest coolnyan

Does AutoIT has timestamp feature? I am writing script where the script will check if files in certain folder have been modified recently. If the files have been modified, then the script will overwrite the files with newer version.

I figure I need to use timestamp to compare when the files got modified.

Any help is highly appreciated.

Thanks,

coolnyan

Link to post
Share on other sites

straight from beta help

$t = FileGetTime(@Windowsdir & "\Notepad.exe", 1)

If Not @error Then

$yyyymd = $t[0] & "/" & $t[1] & "/" & $t[2]

MsgBox(0, "Creation date of notepad.exe", $yyyymd)

EndIf

read all contents to find your desired use

8)

NEWHeader1.png

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...