Sign in to follow this  
Followers 0
Guest coolnyan

Is Timestamp feature available on AutoIT?

3 posts in this topic

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

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)

EndIf

read all contents to find your desired use

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

Thanks. This is what I'm looking for.

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  
Followers 0