Provides a set of methods that help developers to manage the RTC (Real Time Clock) on the target device.
public static class Rtc
Sets the current system time and date.
public static bool SetSystemTime(DateTime time)
DateTime structure that contains the new system date and time.
If the function succeeds, the return value is true.
This method is specific to nanoFramework. The actual availability of the resulting feature depends on the availability on target platform that's running the nanoCLR.