Hi all,
I am using "DateTime.Now" to get the current time, but the result is "01/01/2009 00:03:13". Why?
Thanks,
Mohammad
Current Datetime
Started by mohammad, Apr 05 2012 08:12 PM
4 replies to this topic
#1
Posted 05 April 2012 - 08:12 PM
#2
Posted 05 April 2012 - 08:20 PM
Hi Mohammad,
The clock starts ticking at bootup of the Netduino. Since the Netduino doesn't have a RTC (Real-time clock) it starts at 01/01/09.
You could solve this by adding an RTC circuitry.
"Fact that I'm a moderator doesn't make me an expert in things." Stefan, the eternal newb!
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs
#3
Posted 05 April 2012 - 08:26 PM
Hi Mohammad,
The clock starts ticking at bootup of the Netduino. Since the Netduino doesn't have a RTC (Real-time clock) it starts at 01/01/09.
You could solve this by adding an RTC circuitry.
Thanks. I am very curious. Why the RTC circuit hasn't been already added to the Netduino Plus board?
#4
Posted 05 April 2012 - 09:12 PM
Wouldn't it need to have a battery for that?
#5
Posted 05 April 2012 - 09:36 PM
Yes it would and that probably didn't fit budget nor physical board.Wouldn't it need to have a battery for that?
Here's a guy that added a I2C controlled RTC chip and a battery:
http://forums.netdui...on-help-needed/
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users