Go Down

Topic: ??Code to convert input time and date to epoch time?? (Read 3369 times) previous topic - next topic

88

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?

Si

This should help:

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

Code: [Select]
now();             // returns the current time as seconds since Jan 1 1970
--
I write books about Arduino and Electronics: http://simonmonk.org

Go Up