-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
I suspect one common use for an RTC on Arduino is timestamps for logs (that is how I plan to use it). It would be handy to have a variant of stringDate() that returns both date and time in a sort-friendly format (similar to ISO 8601). e.g.:
char* stringTimestamp(); //Return date & time in yyyy-mm-dd_hh:mm:ss.ss
This would require a static 23B array if coded like the other string functions, but you could combine date[11] and time[11] and timestamp[23] into a single shared array and not take up any additional RAM, with the side effect that the most recent use would overwrite the previous use.
Metadata
Metadata
Assignees
Labels
No labels