CrestronEnvironmentSetDate Method |
Function to change the current date of the system.
Namespace: Crestron.SimplSharpAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic static void SetDate(
ushort Month,
ushort Day,
ushort Year
)
Parameters
- Month UInt16
- The month to which the date is set. Valid range is 1 through 12, corresponding to January through December.
- Day UInt16
- The dat of the month to which to date is set. The range varies from month to month, but always starts at 1 and does not go above 31.
- Year UInt16
- The year to which the date is set. The year is four digits, i.e. 2006.
ExceptionsVersion Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also