Hi I’m trying to insert arduino runtime into a tweet like this:
sprintf(tweet,"%d Sensor Reading S1=%e S2=%e", millis, (float)temp_f, (float)real_humidity); //Your tweet message
But millis of course is just the ms it’s been running in raw form which quickly becomes a huge string. How can I format millis into a 24 hour display, [HH:MM:SS] that resets every 24 hours, or better yet, insert an authentic time value? I need a time stamp of some sort to get around Twitter’s spam filters.