Jump to content

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


Recommended Posts

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

Link to comment
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
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...