Tuesday, August 17, 2010

I want to change my system date to 5 days back?

i have this code


'getting current system date


Wscript.echo("The current system date is: ")


originaldate = d()


wscript.echo originaldate





'moving current date back to 5 days


NewDate = DateAdd("d", -5, date())


wscript.echo NewDate





the above code will get the current date, that date can be moved to 5 days back and stored in a veriable NewDate,


but i want to set this date as system date....

I want to change my system date to 5 days back?
Can't you just click on the bottom right and move than calendar date back 5 days? That's the date your system will read when it communicated with other computers. I don't get your question.

implants

No comments:

Post a Comment