Problem with C# DateTime.Now in my Fez Domino

Hi,

I’m having problem with my FEZ Domino microcontroller .

When I connect my FEZ Domino and try to use a variable of type DateTime.Now it is set to the date = 01/01/2009, “date wrong”.

When the microcontroller is not connected, get the current date with no problem.

Could anyone help me?

Alexandre from Brazil.

that is expected - it is the default value the system time has, and it is NOT the value from the real-time-clock.

read up on reading and setting the RTC here: [url]http://www.ghielectronics.com/downloads/NETMF/Library%20Documentation/html/e5df2b05-d3fa-ee81-2169-28c4663e3914.htm[/url]