Well, I prefer not to put a "\n" in dates but you do you mate
this post was submitted on 13 Jun 2023
17 points (100.0% liked)
Programmer Humor
32410 readers
1116 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
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!
view more: next ›