Jump to content
Sign in to follow this  
Guest coolnyan

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.



Share this post

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)


read all contents to find your desired use



Share this post

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

Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.