Jump to content
Sign in to follow this  
Spongey

Date stamp

Recommended Posts

Spongey

How do you return the current date stamp?

Thanks.

Spongey

Share this post


Link to post
Share on other sites
SmOke_N

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.

Share this post


Link to post
Share on other sites
herewasplato

maybe _DateTimeSplit


[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites
Spongey

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.

Share this post


Link to post
Share on other sites
SmOke_N

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.

Share this post


Link to post
Share on other sites
Zedna

Also look into HelpFile at these macros:

@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

Share this post


Link to post
Share on other sites
Spongey

Also look into HelpFile at these macros:

Thanks, bud!

Spongey

Share this post


Link to post
Share on other sites
Spongey

Also look into HelpFile at these macros:

I went wiith the _DateDayOfWeek. Thta was perfect.

Thanks to everyone!

Spongey

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.