The only way

3 years ago by qaz to c/programmerhumor

ElmiHalt 11 points 3 years ago

Well, I prefer not to put a "\n" in dates but you do you mate

path: 0 126752, hotness: undefined, score: 11, children: 1
qaz 3 points 3 years ago

You forgot the "\r" /s

path: 0 126752 126788, hotness: undefined, score: 3, children: 0
adthrawn 5 points 3 years ago

All other formats are inferior

path: 0 125420, hotness: undefined, score: 5, children: 0
Celsiuss 5 points 3 years ago

int time = 1686650138000;

path: 0 124357, hotness: undefined, score: 5, children: 0
daanzel 4 points 3 years ago

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

path: 0 127962, hotness: undefined, score: 4, children: 0
erre 3 points 3 years ago

In ISO8601 I trust.

path: 0 654538, hotness: undefined, score: 3, children: 0
Fiech 3 points 3 years ago

POSIX time or bust!

path: 0 136985, hotness: undefined, score: 3, children: 0
BLAMM67 3 points 3 years ago

This is the way.

path: 0 200075, hotness: undefined, score: 3, children: 0
infeeeee 2 points 3 years ago

ISO 8601

path: 0 308354, hotness: undefined, score: 2, children: 0
chkno 2 points 3 years ago

I accidentally the timezone.

path: 0 152754, hotness: undefined, score: 2, children: 0
Kutsuya 2 points 3 years ago

The only and best way

path: 0 124355, hotness: undefined, score: 2, children: 0
httpjames 2 points 3 years ago

Unix timestamp on top

path: 0 131347, hotness: undefined, score: 2, children: 0
programmerhumor
programmerhumor

@lemmy.ml

login for more options
43801
1628
1576

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.

go to feed...