Sets the current date of the system
#include <Date.au3>
_SetDate ( $iDay [, $iMonth = 0 [, $iYear = 0]] )
| $iDay | Day of the month. Values: 1-31 |
| $iMonth | [optional] month. Values: 1-12 |
| $iYear | [optional] year. Values: > 0 (windows might restrict this further!!) |
| Success: | 1. |
| Failure: | 0 and sets the @error flag to non-zero. |
| @error: | 1 - Failure |
| @extended: | _WinAPI_GetLastError() Error code(s): MSDN: ms681381.aspx |
If the optional parameters ($iMonth,$iYear) are NOT defined, the function will not change the current value!
Search GetLastError in MSDN Library.