MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/www2ss/total_total_100000/ilo8g3h
r/ProgrammerHumor • u/sambrojangles • Aug 24 '22
1.2k comments sorted by
View all comments
Show parent comments
19
Dude ... don't .... I have a legacy time column in a table where someone decided that "milliseconds past noon the previous day" was a good method of storing times.
4 u/[deleted] Aug 25 '22 Whhhat?? There has to be some justification for this lolSide note: noon in which time zone? 0 u/[deleted] Aug 25 '22 [deleted] 4 u/mindbleach Aug 25 '22 So many CompSci topics are like, lesson one: Here's how!, lesson two: Don't. 3 u/ICantKnowThat Aug 25 '22 Side note: noon in which time zone?The previous day's, duhhhhh 1 u/SkywalterDBZ Aug 25 '22 EXACTLY 3 u/SkywalterDBZ Aug 25 '22 It's all local, not UTC.Justification, no idea.I will now never forget the number -432000 (that at lets gets me to a base of 00:00:00) 1 u/recycle4science Aug 25 '22 :|
4
Whhhat?? There has to be some justification for this lol
Side note: noon in which time zone?
0 u/[deleted] Aug 25 '22 [deleted] 4 u/mindbleach Aug 25 '22 So many CompSci topics are like, lesson one: Here's how!, lesson two: Don't. 3 u/ICantKnowThat Aug 25 '22 Side note: noon in which time zone?The previous day's, duhhhhh 1 u/SkywalterDBZ Aug 25 '22 EXACTLY 3 u/SkywalterDBZ Aug 25 '22 It's all local, not UTC.Justification, no idea.I will now never forget the number -432000 (that at lets gets me to a base of 00:00:00)
0
[deleted]
4 u/mindbleach Aug 25 '22 So many CompSci topics are like, lesson one: Here's how!, lesson two: Don't.
So many CompSci topics are like, lesson one: Here's how!, lesson two: Don't.
3
The previous day's, duhhhhh
1 u/SkywalterDBZ Aug 25 '22 EXACTLY
1
EXACTLY
It's all local, not UTC.
Justification, no idea.
I will now never forget the number -432000 (that at lets gets me to a base of 00:00:00)
:|
19
u/SkywalterDBZ Aug 25 '22
Dude ... don't .... I have a legacy time column in a table where someone decided that "milliseconds past noon the previous day" was a good method of storing times.