Pages: [1]   Go Down
Author Topic: ??Code to convert input time and date to epoch time??  (Read 2430 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 1
Posts: 34
Nub
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Anyone know how to convert a time and date inputed by a user to epoch time?? (seconds since midnight Jan 1 1970)
that would be functional with arduino?
Logged

UK
Offline Offline
God Member
*****
Karma: 13
Posts: 903
Twitter: @simonmonk2
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

This should help:

http://www.arduino.cc/playground/Code/Time

Code:
now();             // returns the current time as seconds since Jan 1 1970
Logged

--
My New Arduino Book: http://www.arduinobook.com

Pages: [1]   Go Up
Jump to: