Click here to Skip to main content
15,886,806 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: We're not all in the US: Annual rant about dates Pin
Slow Eddie15-Jul-22 1:51
professionalSlow Eddie15-Jul-22 1:51 
GeneralRe: We're not all in the US: Annual rant about dates Pin
golden.spiral208415-Jul-22 2:44
golden.spiral208415-Jul-22 2:44 
GeneralRe: We're not all in the US: Annual rant about dates Pin
PSU Steve15-Jul-22 3:10
professionalPSU Steve15-Jul-22 3:10 
GeneralRe: We're not all in the US: Annual rant about dates Pin
Chris Maunder15-Jul-22 4:11
cofounderChris Maunder15-Jul-22 4:11 
GeneralRe: We're not all in the US: Annual rant about dates Pin
Peter Kelley 202115-Jul-22 3:29
Peter Kelley 202115-Jul-22 3:29 
GeneralRe: We're not all in the US: Annual rant about dates Pin
Bruce Patin15-Jul-22 3:33
Bruce Patin15-Jul-22 3:33 
GeneralRe: We're not all in the US: Annual rant about dates Pin
Chris Maunder15-Jul-22 4:15
cofounderChris Maunder15-Jul-22 4:15 
GeneralRe: We're not all in the US: Annual rant about dates Pin
Gary Wheeler15-Jul-22 3:52
Gary Wheeler15-Jul-22 3:52 
<OldFartWarStory>

I rewrote a part of our application that generated a comma-separated value log for import into Excel. Instead of writing a human-readable date the Excel understand, the previous version wrote an integer. As it turns out, that integer was the number of seconds between January 1, 1900 00:00:00 and today's date at 00:00:00. To make matters worse, the time was a floating point value between 0.0 and 1.0, representing the time of day.

After reverse engineering all this crap, I casually mentioned this to the engineer who used the log. He also took over for someone now departed. He told me that he never understood how the date and time values in the log worked, and didn't pay too much attention to them D'Oh! | :doh: . I quietly showed him how to format the columns in the Excel spreadsheet as 'Date' and 'Time', and drank my dinner that evening.

</OldFartWarStory>
Software Zen: delete this;

GeneralRe: We're not all in the US: Annual rant about dates Pin
kmoorevs15-Jul-22 5:06
kmoorevs15-Jul-22 5:06 
GeneralRe: We're not all in the US: Annual rant about dates Pin
Gary Wheeler15-Jul-22 5:09
Gary Wheeler15-Jul-22 5:09 
GeneralRe: We're not all in the US: Annual rant about dates Pin
kmoorevs15-Jul-22 5:20
kmoorevs15-Jul-22 5:20 
GeneralRe: We're not all in the US: Annual rant about dates Pin
Gary Wheeler15-Jul-22 5:23
Gary Wheeler15-Jul-22 5:23 
GeneralRe: We're not all in the US: Annual rant about dates Pin
Dan Neely15-Jul-22 3:56
Dan Neely15-Jul-22 3:56 
GeneralRe: We're not all in the US: Annual rant about dates Pin
englebart15-Jul-22 7:00
professionalenglebart15-Jul-22 7:00 
GeneralRe: We're not all in the US: Annual rant about dates Pin
Kirk 1038982115-Jul-22 4:25
Kirk 1038982115-Jul-22 4:25 
GeneralRe: We're not all in the US: Annual rant about dates Pin
kmoorevs15-Jul-22 4:38
kmoorevs15-Jul-22 4:38 
GeneralRe: We're not all in the US: Annual rant about dates Pin
SeattleC++15-Jul-22 5:41
SeattleC++15-Jul-22 5:41 
GeneralRe: We're not all in the US: Annual rant about dates Pin
Luschan17-Jul-22 6:01
Luschan17-Jul-22 6:01 
GeneralRe: We're not all in the US: Annual rant about dates Pin
englebart18-Jul-22 8:41
professionalenglebart18-Jul-22 8:41 
GeneralWSO CCC OTD 2022-07-14 Solution Pin
OriginalGriff14-Jul-22 3:02
mveOriginalGriff14-Jul-22 3:02 
GeneralRe: WSO CCC OTD 2022-07-14 Solution Pin
Craig Robbins14-Jul-22 3:10
Craig Robbins14-Jul-22 3:10 
GeneralRe: WSO CCC OTD 2022-07-14 Solution Pin
DRHuff14-Jul-22 3:28
DRHuff14-Jul-22 3:28 
GeneralRe: WSO CCC OTD 2022-07-14 Solution Pin
OriginalGriff14-Jul-22 3:53
mveOriginalGriff14-Jul-22 3:53 
GeneralRe: WSO CCC OTD 2022-07-14 Solution Pin
Craig Robbins14-Jul-22 4:02
Craig Robbins14-Jul-22 4:02 
JokeRe: WSO CCC OTD 2022-07-14 Solution Pin
Kirk 1038982115-Jul-22 4:32
Kirk 1038982115-Jul-22 4:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.