Main Site Documentation

Set the system date and time


#1

I have a Netduino 3 WiFi and am testing out TinyCLR OS as a path forward from NETMF. I am trying to convert a class that I had written for the DS1307 I2C RTC. I think I have figured figured out the I2C communication side with the DS1307 and can read and write to the RTC. I have gotten a little stuck updating the system date and time. In NETMF you can use the Native.SetLocalTime(dateTime) method from the Microsoft.SPOT.Hardware namespace to set the system date and time. How is this done in TinyCLR OS?


#2

For now, set system date and time is not supported. But I think it would be possible very soon.