Click here to Skip to main content
15,895,667 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: Google: someone had to say it Pin
jarvisa16-Sep-15 22:30
jarvisa16-Sep-15 22:30 
GeneralRe: Google: someone had to say it Pin
Gary Wheeler17-Sep-15 0:33
Gary Wheeler17-Sep-15 0:33 
GeneralRe: Google: someone had to say it Pin
MKJCP17-Sep-15 1:27
MKJCP17-Sep-15 1:27 
GeneralRe: Google: someone had to say it Pin
bkebamc17-Sep-15 5:20
bkebamc17-Sep-15 5:20 
GeneralBoomeranging Telescopic and Kaleidoscopic Phrase Maze of the Day ("1") Pin
B. Clay Shannon16-Sep-15 4:21
professionalB. Clay Shannon16-Sep-15 4:21 
GeneralRe: Boomeranging Telescopic and Kaleidoscopic Phrase Maze of the Day ("1") Pin
Chris Quinn16-Sep-15 4:57
Chris Quinn16-Sep-15 4:57 
GeneralRe: Boomeranging Telescopic and Kaleidoscopic Phrase Maze of the Day ("1") Pin
B. Clay Shannon16-Sep-15 5:03
professionalB. Clay Shannon16-Sep-15 5:03 
Rantdatetime rant Pin
V.16-Sep-15 2:57
professionalV.16-Sep-15 2:57 
rant of the day.

When entering or defining a datetime and you set year, month, day, hour, minutes, seconds (not milliseconds).
Who here at CP considers it a good idea to set the milliseconds to something that is something else than zero?

This is exactly what java does (or at least the version I'm working with). Even worse, to set the milliseconds there is no constructor or set method override to also set the milliseconds. Or you need to override the non-zero value after construction like set(calendar field, value) or you need to use the setMilliseconds method or something like that. D'Oh! | :doh:

(My guess is that it takes the milliseconds of the system)

That was the main subject of my day ... Sigh | :sigh:
V.

(MQOTD rules and previous solutions)

GeneralRe: datetime rant Pin
CDP180216-Sep-15 3:01
CDP180216-Sep-15 3:01 
GeneralRe: datetime rant Pin
V.16-Sep-15 3:11
professionalV.16-Sep-15 3:11 
GeneralRe: datetime rant Pin
Rob Philpott16-Sep-15 3:11
Rob Philpott16-Sep-15 3:11 
GeneralRe: datetime rant Pin
V.16-Sep-15 3:14
professionalV.16-Sep-15 3:14 
GeneralRe: datetime rant Pin
Pete O'Hanlon16-Sep-15 3:54
mvePete O'Hanlon16-Sep-15 3:54 
GeneralRe: datetime rant PinPopular
Michael Martin16-Sep-15 4:02
professionalMichael Martin16-Sep-15 4:02 
GeneralRe: datetime rant Pin
GuyThiebaut16-Sep-15 4:14
professionalGuyThiebaut16-Sep-15 4:14 
GeneralRe: datetime rant Pin
harold aptroot16-Sep-15 4:33
harold aptroot16-Sep-15 4:33 
GeneralRe: datetime rant Pin
Clodetta del Mar16-Sep-15 4:48
Clodetta del Mar16-Sep-15 4:48 
GeneralRe: datetime rant Pin
OriginalGriff16-Sep-15 5:05
mveOriginalGriff16-Sep-15 5:05 
GeneralRe: datetime rant Pin
harold aptroot16-Sep-15 5:27
harold aptroot16-Sep-15 5:27 
GeneralRe: datetime rant Pin
OriginalGriff16-Sep-15 5:36
mveOriginalGriff16-Sep-15 5:36 
GeneralRe: datetime rant Pin
Ian Shlasko16-Sep-15 4:53
Ian Shlasko16-Sep-15 4:53 
GeneralRe: datetime rant Pin
V.16-Sep-15 6:51
professionalV.16-Sep-15 6:51 
GeneralRe: datetime rant Pin
Ian Shlasko16-Sep-15 7:09
Ian Shlasko16-Sep-15 7:09 
GeneralThis just struck me... PinPopular
Nagy Vilmos16-Sep-15 2:31
professionalNagy Vilmos16-Sep-15 2:31 
GeneralRe: This just struck me... Pin
chriselst16-Sep-15 2:33
professionalchriselst16-Sep-15 2:33 

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.