Go Down

Topic: ??Code to convert input time and date to epoch time?? (Read 5037 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

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131