Click here to Skip to main content
15,917,060 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
Marc Clifton16-Sep-18 2:56
mvaMarc Clifton16-Sep-18 2:56 
GeneralRe: The things you learn Pin
Mycroft Holmes16-Sep-18 12:07
professionalMycroft Holmes16-Sep-18 12:07 
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 
Try storing your date times as DATETIME2 in the database, if SQL Server.

How are you storing your date and time in the database?

This may or may not solve your problems.

DateTime2 vs DateTime in SQL Server - Stack Overflow[^]

c# - Milliseconds in my DateTime changes when stored in SQL Server - Stack Overflow[^]


Going forward we are not using DateTime in SQL Server anymore, We use datetime2, and MS recommends this anyhow, for good reasons, I think.
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 
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 

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.