Guest CodeZero Posted January 10, 2005 Share Posted January 10, 2005 Hey i recently started learning autoit. and im making a script to auto run and create a backup of my websites database. anyways i need it to be named something different everytime i make a backup. i tried to get it to Send("{DATE}") but i couldnt make any sense of the auotit help relating to the date. Thanks in advance, vince Link to comment Share on other sites More sharing options...
this-is-me Posted January 10, 2005 Share Posted January 10, 2005 Quote from the helpfile:Below is a list of Time and Date macros. Notice that most return values are two-digits long. Macro Description @SEC Seconds value of clock. Range is 00 to 59 @MIN Minutes value of clock. Range is 00 to 59 @HOUR Hours value of clock in 24-hour format. Range is 00 to 23 @MDAY Current day of month. Range is 01 to 31 @MON Current month. Range is 01 to 12 @YEAR Current four-digit year @WDAY Numeric day of week. Range is 1 to 7 which corresponds to Sunday through Saturday. @YDAY Current day of year. Range is 1 to 366 (or 365 if not a leap year) Who else would I be? Link to comment Share on other sites More sharing options...
normeus Posted January 10, 2005 Share Posted January 10, 2005 send(@YEAR & @YDAY) will send 200510 (year = 2005 day = 10 for me today anyway) and you might want to add the Hour if you do more than one back up per day. (throw the minutes and seconds in while you are at it) http://www.autoitscript.com/autoit3/scite/...iTe4AutoIt3.exe Link to comment Share on other sites More sharing options...
Guest CodeZero Posted January 11, 2005 Share Posted January 11, 2005 Thanks a million Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now