You must log in or register to comment.
Well, I prefer not to put a “\n” in dates but you do you mate
You forgot the “\r” /s
All other formats are inferior
In ISO8601 I trust.
As someone that works a lot with high-frequency sensor data, we need the microseconds too!! Use this one:
%Y-%m-%d_%H:%M:%S.%f
int time = 1686650138000;
ISO 8601
I accidentally the timezone.
This is the way.
Unix timestamp on top
POSIX time or bust!