Table of Contents

Class Rtc

Namespace
nanoFramework.Runtime.Native
Assembly
nanoFramework.Runtime.Native.dll

Provides a set of methods that help developers to manage the RTC (Real Time Clock) on the target device.

public static class Rtc
Inheritance
Rtc
Inherited Members

Methods

SetSystemTime(DateTime)

Sets the current system time and date.

public static bool SetSystemTime(DateTime time)

Parameters

time DateTime

DateTime structure that contains the new system date and time.

Returns

bool

If the function succeeds, the return value is true.

Remarks

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.