Interesting observation. Yeah, a quick test shows that this fails for me too. Works fine on a G120, but not on a G80 (Panda 3 for me)
DateTime dtAdjust, dtRTClock;
try
{
dtRTClock = RealTimeClock.GetDateTime();
Debug.Print("0: Pre set Real-time Clock " + RealTimeClock.GetDateTime().ToString());
}
catch
{
Debug.Print("The RTC date was bad; set to MFTime");
RealTimeClock.SetDateTime(DateTime.Now); //set RTC to netmf time if not working
}
dtAdjust= new DateTime(2017, 2, 12, 11, 25, 0);
RealTimeClock.SetDateTime(dtAdjust); //No change when a Sunday
Debug.Print("1: Post set Real-time Clock " + RealTimeClock.GetDateTime().ToString());
Debug.Print("2: MF clock " + DateTime.Now.ToString());
Thread.Sleep(Timeout.Infinite);