Jump to content

Recommended Posts

  • Moderators
Posted

  Spongey said:

How do you return the current date stamp?

Thanks.

Spongey

Of what?

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Posted

  SmOke_N said:

Of what?

I'm creating an automation script that needs the curent date of the windows server it's running on so it knows which control file to read for that particular date.

Thanks.

  • Moderators
Posted

  Spongey said:

I'm creating an automation script that needs the curent date of the windows server it's running on so it knows which control file to read for that particular date.

Thanks.

And _NowDate() doesn't do it for you?

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Posted

Also look into HelpFile at these macros:

  Quote

@HOUR Hours value of clock in 24-hour format. Range is 00 to 23

@MDAY Current day of month. Range is 01 to 31

@MIN Minutes value of clock. Range is 00 to 59

@MON Current month. Range is 01 to 12

@SEC Seconds value of clock. Range is 00 to 59

@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)

@YEAR Current four-digit year

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
  • Recently Browsing   0 members

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