###User Defined Function###
_SetDate

###Description###
Sets the current date of the system

###Syntax###
#include <Date.au3>
_SetDate ( $iDay [, $iMonth = 0 [, $iYear = 0]] )


###Parameters###
@@ParamTable@@
$iDay
	Day of the month. Values: 1-31
$iMonth
	[optional] month. Values: 1-12
$iYear
	[optional] year. Values: > 0 (windows might restrict this further!!)
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	1.
Failure:	0 and sets the @error flag to non-zero.
@error:	1 - Failure
@extended:	<a href="_WinAPI_GetLastError.htm">_WinAPI_GetLastError()</a>
	Error code(s): <a href="http://msdn.microsoft.com/en-us/library/ms681381.aspx">MSDN: ms681381.aspx</a>
@@End@@


###Remarks###
If the optional parameters (iMonth,iYear) are NOT defined, the function will not change the current value!


###Related###
_SetTime


###See Also###
@@MsdnLink@@ GetLastError


###Example###
@@IncludeExample@@
