Re: How to get date and time of uploaded firmware?
Posted: Sun Oct 25, 2020 10:48 am
Oh, thank you all!
I used that one in my project:
I used that one in my project:
Code: Select all
const char compile_date[] = __DATE__ " " __TIME__;
currentLine = "<id>KITCHEN_TRASH</id><version>" + String(compile_date) + "</version><message>" + String(hour()) + ":" + String(minute()) + ":" + String(second()) + "." + String(millis()) + " - " + currentLine + s + "</message>";