-->
Page 2 of 2

Re: How to get date and time of uploaded firmware?

PostPosted: Sun Oct 25, 2020 10:48 am
by Arthur Khusnutdinov
Oh, thank you all!

I used that one in my project:

Code: Select allconst 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>";