Question
How to transform date and time received to timestamp
Hi all,
I am receiving date and time by CAN for my application, and not using the RTC functionality because I couldn't get it to work with LoRa.
Basically I receive day and month separately, and declare the year as a int. Same thing for the time, I receive hour, minutes and seconds separately.
Is there a way that I can join them into a timestamp variable?
