this post was submitted on 13 Jun 2023
65 points (100.0% liked)

Programmer Humor

34371 readers
1181 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
top 12 comments
sorted by: hot top controversial new old
[–] ElmiHalt@sopuli.xyz 11 points 2 years ago* (last edited 2 years ago) (1 children)

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

[–] qaz 3 points 2 years ago

You forgot the "\r" /s

[–] adthrawn 5 points 2 years ago

All other formats are inferior

[–] Celsiuss 5 points 2 years ago

int time = 1686650138000;

[–] daanzel 4 points 2 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

[–] erre@feddit.win 3 points 2 years ago* (last edited 2 years ago)

In ISO8601 I trust.

[–] Fiech@discuss.tchncs.de 3 points 2 years ago

POSIX time or bust!

[–] BLAMM67@beehaw.org 3 points 2 years ago

This is the way.

[–] chkno@lemmy.ml 2 points 2 years ago

I accidentally the timezone.

[–] Kutsuya 2 points 2 years ago

The only and best way

[–] httpjames@sh.itjust.works 2 points 2 years ago

Unix timestamp on top

[–] infeeeee@beehaw.org 2 points 2 years ago
load more comments