Sign in to follow this  
Followers 0
sumit

help writing a script that will change my system date to a particular date

3 posts in this topic

i need to write a script that will change my system date to a january 22, 2009. can i have some ideas how to do it .. i m quite new scripter. would really appreciate any help regarding this

Share this post


Link to post
Share on other sites



Does it have to be in AutoIt? Just run from DOS: date 01/22/2009

In AutoIt Date.au3 there's _SetDate().

It's in the help file. Do you have a help file?

#include <Date.au3>

_SetDate(20)            ; Set the current date to 20-xx-xxxx
_SetDate(20,10)         ; Set the current date to 20-10-xxxx
_SetDate(20,10,2004)    ; Set the current date to 20-10-2004

Share this post


Link to post
Share on other sites

thanks a lot guys .. this is the best support forum ever. :-)

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