Jump to content
Sign in to follow this  
Guest CodeZero

Im sure this is simple...

Recommended Posts

Guest CodeZero

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

Share this post


Link to post
Share on other sites
this-is-me

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?

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.