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 Real Time Clock (RTC) on the target device.

public static class Rtc
Inheritance
Rtc
Inherited Members

Methods

SetSystemTime(DateTime)

Sets the current system date and time.

public static bool SetSystemTime(DateTime time)

Parameters

time DateTime

A DateTime structure that contains the new system date and time.

Returns

bool

true if the function succeeds; otherwise, false.

Remarks

This method is specific to nanoFramework. The actual availability of this feature depends on the target platform running the nanoCLR.