Go Down

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


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?


This should help:


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