Click here to Skip to main content
15,892,059 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: The things you learn Pin
Daniel Pfeffer16-Sep-18 20:18
professionalDaniel Pfeffer16-Sep-18 20:18 
GeneralRe: The things you learn Pin
Mycroft Holmes16-Sep-18 20:37
professionalMycroft Holmes16-Sep-18 20:37 
GeneralRe: The things you learn Pin
BillWoodruff15-Sep-18 19:29
professionalBillWoodruff15-Sep-18 19:29 
GeneralRe: The things you learn Pin
Marc Clifton16-Sep-18 2:58
mvaMarc Clifton16-Sep-18 2:58 
GeneralRe: The things you learn Pin
Michael Martin15-Sep-18 20:50
professionalMichael Martin15-Sep-18 20:50 
GeneralRe: The things you learn Pin
Slacker00715-Sep-18 23:43
professionalSlacker00715-Sep-18 23:43 
GeneralRe: The things you learn Pin
Marc Clifton16-Sep-18 3:00
mvaMarc Clifton16-Sep-18 3:00 
GeneralRe: The things you learn Pin
Jörgen Andersson16-Sep-18 2:25
professionalJörgen Andersson16-Sep-18 2:25 
Slacker is right in my opinion.

You should always use Datetime2 for new work[^]. It's not just having better compatibility with other databases. But also with DateTime in .Net.

If you change datatype in the db to DateTime2(0), the fractional seconds are automatically stripped, and the problem is solved.
Wrong is evil and must be defeated. - Jeff Ello

GeneralRe: The things you learn Pin
jschell16-Sep-18 11:57
jschell16-Sep-18 11:57 
GeneralRe: The things you learn Pin
maze317-Sep-18 0:27
professionalmaze317-Sep-18 0:27 
GeneralRe: The things you learn Pin
Marc Clifton20-Sep-18 4:33
mvaMarc Clifton20-Sep-18 4:33 
GeneralRe: The things you learn Pin
Bruce Patin17-Sep-18 4:29
Bruce Patin17-Sep-18 4:29 
GeneralRe: The things you learn Pin
Jim Knopf jr.17-Sep-18 5:47
Jim Knopf jr.17-Sep-18 5:47 
GeneralRe: The things you learn Pin
thewazz17-Sep-18 9:18
professionalthewazz17-Sep-18 9:18 
General"Don't turn off your computer." Pin
dandy7215-Sep-18 8:54
dandy7215-Sep-18 8:54 
GeneralRe: "Don't turn off your computer." Pin
kmoorevs15-Sep-18 9:00
kmoorevs15-Sep-18 9:00 
JokeFake news. Pin
Munchies_Matt15-Sep-18 2:26
Munchies_Matt15-Sep-18 2:26 
GeneralRe: Fake news. Pin
Marc Clifton15-Sep-18 4:41
mvaMarc Clifton15-Sep-18 4:41 
GeneralRe: Fake news. Pin
RickZeeland15-Sep-18 10:08
mveRickZeeland15-Sep-18 10:08 
GeneralRe: Fake news. Pin
Eric Lynch15-Sep-18 10:41
Eric Lynch15-Sep-18 10:41 
GeneralRe: Fake news. Pin
Ron Anders17-Sep-18 9:35
Ron Anders17-Sep-18 9:35 
GeneralRe: Fake news. Pin
Munchies_Matt17-Sep-18 20:47
Munchies_Matt17-Sep-18 20:47 
GeneralAnd that's fixed it! Pin
OriginalGriff14-Sep-18 23:27
mveOriginalGriff14-Sep-18 23:27 
GeneralRe: And that's fixed it! Pin
lopatir15-Sep-18 0:06
lopatir15-Sep-18 0:06 
GeneralRe: And that's fixed it! Pin
OriginalGriff15-Sep-18 0:10
mveOriginalGriff15-Sep-18 0:10 

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.