Sign in to follow this  
Followers 0
Spongey

Date stamp

8 posts in this topic

How do you return the current date stamp?

Thanks.

Spongey

Share this post


Link to post
Share on other sites



How do you return the current date stamp?

Thanks.

Spongey

Of what?

[center]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.[/center]

Share this post


Link to post
Share on other sites

maybe _DateTimeSplit


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

Share this post


Link to post
Share on other sites

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

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?

[center]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.[/center]

Share this post


Link to post
Share on other sites

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

Also look into HelpFile at these macros:

Thanks, bud!

Spongey

Share this post


Link to post
Share on other sites

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  
Followers 0