Jump to content

Im sure this is simple...


Guest CodeZero
 Share

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

Link to comment
Share on other sites

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...