CrestronEnvironmentSetTime Method |
Function to change the current time of the system.
Namespace: Crestron.SimplSharpAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic static void SetTime(
ushort Hours,
ushort Minutes,
ushort Seconds
)
Parameters
- Hours UInt16
- The hour portion of the time to set the system time to. Valid range is from 0 to 23.
- Minutes UInt16
- The minutes portion of the time to set the system time to. Valid range is from 0 to 59.
- Seconds UInt16
- The seconds portion of the time to set the system time to. Valid range is from 0 to 59.
ExceptionsVersion Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also