0
In C I have the lib time. h to manipulate date and time, already in Arduino the class Datetime that implements some methods.
I’m not finding, even if it is in the fingernail, how to compare date and time, for example:
if ( dt >= checkin )
where dt is the current date and time and checking a system date, how to compare?
that
dt
and thecheckin
are of what type ? How they were initialized ?– Isac
Our sorry forgot, are Datetime so I can use the unixtime() method right?
– fdavid
The ideal is to show how variables have been declared and initialized. Include relevant code snippet
– Isac