Create custom libraries?
Posted: Sun Apr 03, 2016 11:19 am
I am using SNTP to obtain time and need a syslog format time string thusly:
There is already an SNTP routine available to generate a hard-coded format string so is there a way for me to create a custom version of the SNTP library that can produce my string? It seem silly to have to create a second wheel when one already exists so tantilisingly closeby .
- YYYY-MM-DDTHH:MM:SS
There is already an SNTP routine available to generate a hard-coded format string so is there a way for me to create a custom version of the SNTP library that can produce my string? It seem silly to have to create a second wheel when one already exists so tantilisingly closeby .