Click here to Skip to main content
15,913,487 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.

 
QuestionRe: Which part of CMOS did they not understand? Pin
megaadam4-Oct-17 22:22
professionalmegaadam4-Oct-17 22:22 
GeneralRe: Which part of CMOS did they not understand? Pin
abmv5-Oct-17 5:41
professionalabmv5-Oct-17 5:41 
GeneralRe: Which part of CMOS did they not understand? Pin
Ron Anders4-Oct-17 14:54
Ron Anders4-Oct-17 14:54 
GeneralRe: Which part of CMOS did they not understand? Pin
rbuchana4-Oct-17 15:43
rbuchana4-Oct-17 15:43 
GeneralRe: Which part of CMOS did they not understand? Pin
Ron Anders4-Oct-17 18:22
Ron Anders4-Oct-17 18:22 
GeneralRe: Which part of CMOS did they not understand? Pin
CodeWraith4-Oct-17 20:53
CodeWraith4-Oct-17 20:53 
GeneralRe: Which part of CMOS did they not understand? Pin
PIEBALDconsult5-Oct-17 16:24
mvePIEBALDconsult5-Oct-17 16:24 
GeneralSo there I was... PinPopular
#realJSOP4-Oct-17 6:52
professional#realJSOP4-Oct-17 6:52 
...exploring the msdb.dbo.sysschedules table in Sql Server, and one of the columns is called active_end_time of type int.

When I saw the definition, I assumed that it would represent the number of seconds in the day (from midnight). I was wrong (and surprised, bewildered, and downright annoyed) when presented with the reality of the situation.

The value returned was 235959 which far exceeds the number of seconds in a day (86400). In reality, it is a numeric representation of "23:59:59". WTF Microsoft!!!! What rocket scientist decided that this was a valid way to represent a time-of-freakin-day?!

Even worse, they don't use two-digit hours, so "30000" represents "3 am".

Also, "0" indicates midnight, so how do they represent 1 second past midnight? (I don't know because none of existing the job schedules have a time like that.)

EDIT =================

Out of curiosity, I added a job with a schedule that starts at 00:00:01, and the value stored in table is "1".
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013


modified 4-Oct-17 13:02pm.

GeneralRe: So there I was... Pin
Ravi Bhavnani4-Oct-17 7:09
professionalRavi Bhavnani4-Oct-17 7:09 
GeneralRe: So there I was... Pin
#realJSOP4-Oct-17 7:34
professional#realJSOP4-Oct-17 7:34 
GeneralRe: So there I was... Pin
Ravi Bhavnani4-Oct-17 7:49
professionalRavi Bhavnani4-Oct-17 7:49 
GeneralRe: So there I was... Pin
Richard Deeming4-Oct-17 9:34
mveRichard Deeming4-Oct-17 9:34 
GeneralRe: So there I was... Pin
#realJSOP5-Oct-17 1:15
professional#realJSOP5-Oct-17 1:15 
GeneralRe: So there I was... Pin
#realJSOP5-Oct-17 2:33
professional#realJSOP5-Oct-17 2:33 
GeneralRe: So there I was... Pin
Richard Deeming5-Oct-17 3:39
mveRichard Deeming5-Oct-17 3:39 
GeneralRe: So there I was... Pin
Tim Carmichael4-Oct-17 7:27
Tim Carmichael4-Oct-17 7:27 
GeneralRe: So there I was... Pin
#realJSOP4-Oct-17 7:37
professional#realJSOP4-Oct-17 7:37 
GeneralRe: So there I was... Pin
Herbie Mountjoy11-Oct-17 2:51
professionalHerbie Mountjoy11-Oct-17 2:51 
GeneralRe: So there I was... Pin
OriginalGriff4-Oct-17 8:05
mveOriginalGriff4-Oct-17 8:05 
GeneralRe: So there I was... Pin
dandy724-Oct-17 8:14
dandy724-Oct-17 8:14 
GeneralRe: So there I was... Pin
Jim_Snyder5-Oct-17 3:27
professionalJim_Snyder5-Oct-17 3:27 
GeneralRe: So there I was... Pin
#realJSOP4-Oct-17 8:16
professional#realJSOP4-Oct-17 8:16 
GeneralRe: So there I was... Pin
Mike Winiberg4-Oct-17 20:22
professionalMike Winiberg4-Oct-17 20:22 
GeneralRe: So there I was... Pin
jsc424-Oct-17 22:49
professionaljsc424-Oct-17 22:49 
GeneralRe: So there I was... Pin
Mike Winiberg5-Oct-17 0:25
professionalMike Winiberg5-Oct-17 0:25 

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.