Click here to Skip to main content
15,889,843 members
Home / Discussions / C#
   

C#

 
AnswerRe: TimeSpan Error?? Pin
Matt T Heffron14-Aug-15 14:16
professionalMatt T Heffron14-Aug-15 14:16 
GeneralRe: TimeSpan Error?? Pin
Kevin Marois17-Aug-15 3:59
professionalKevin Marois17-Aug-15 3:59 
GeneralRe: TimeSpan Error?? Pin
Pete O'Hanlon17-Aug-15 4:24
mvePete O'Hanlon17-Aug-15 4:24 
GeneralRe: TimeSpan Error?? Pin
Kevin Marois17-Aug-15 4:28
professionalKevin Marois17-Aug-15 4:28 
GeneralRe: TimeSpan Error?? Pin
Ravi Bhavnani17-Aug-15 5:12
professionalRavi Bhavnani17-Aug-15 5:12 
GeneralRe: TimeSpan Error?? Pin
Pete O'Hanlon17-Aug-15 5:15
mvePete O'Hanlon17-Aug-15 5:15 
GeneralRe: TimeSpan Error?? Pin
Kevin Marois17-Aug-15 5:24
professionalKevin Marois17-Aug-15 5:24 
GeneralRe: TimeSpan Error?? Pin
Dr. John L. Aven31-Aug-15 17:16
Dr. John L. Aven31-Aug-15 17:16 
I don't think the implementation is wrong at all. On the contrary, it seems that your comprehension of the mathematics is what is wrong. If you are interested in computing an elapsed period of time, then that is exactly what is happening.

Take this for example. If you started the clock at 10AM yesterday and stopped it at 10AM today then a total of 24 hours has passed. Yes? The 24 hours is easily broken down in to 10 hours TODAY and 14 hours YESTERDAY. So a time which has elapsed takes the last fraction of the day your started and the first fraction of the day you finished.
GeneralRe: TimeSpan Error?? Pin
Ravi Bhavnani17-Aug-15 5:24
professionalRavi Bhavnani17-Aug-15 5:24 
GeneralRe: TimeSpan Error?? Pin
Kevin Marois17-Aug-15 5:25
professionalKevin Marois17-Aug-15 5:25 
GeneralRe: TimeSpan Error?? Pin
Ravi Bhavnani17-Aug-15 5:35
professionalRavi Bhavnani17-Aug-15 5:35 
GeneralRe: TimeSpan Error?? Pin
Matt T Heffron17-Aug-15 6:55
professionalMatt T Heffron17-Aug-15 6:55 
GeneralRe: TimeSpan Error?? Pin
Richard Deeming17-Aug-15 7:10
mveRichard Deeming17-Aug-15 7:10 
QuestionWhy don't I see a VSTO template Pin
Gary Huck14-Aug-15 9:47
Gary Huck14-Aug-15 9:47 
AnswerRe: Why don't I see a VSTO template Pin
Richard MacCutchan14-Aug-15 20:49
mveRichard MacCutchan14-Aug-15 20:49 
Question(Solved) How to send a message from a rich text box control to a form Pin
Leif Simon Goodwin14-Aug-15 0:56
Leif Simon Goodwin14-Aug-15 0:56 
AnswerRe: How to send a message from a rich text box control to a form Pin
Arthur V. Ratz14-Aug-15 2:08
professionalArthur V. Ratz14-Aug-15 2:08 
SuggestionRe: How to send a message from a rich text box control to a form Pin
Richard Deeming14-Aug-15 3:18
mveRichard Deeming14-Aug-15 3:18 
GeneralRe: How to send a message from a rich text box control to a form Pin
Leif Simon Goodwin14-Aug-15 3:27
Leif Simon Goodwin14-Aug-15 3:27 
GeneralRe: How to send a message from a rich text box control to a form Pin
Arthur V. Ratz14-Aug-15 3:36
professionalArthur V. Ratz14-Aug-15 3:36 
GeneralRe: How to send a message from a rich text box control to a form Pin
Arthur V. Ratz14-Aug-15 3:30
professionalArthur V. Ratz14-Aug-15 3:30 
GeneralRe: How to send a message from a rich text box control to a form Pin
Leif Simon Goodwin14-Aug-15 3:43
Leif Simon Goodwin14-Aug-15 3:43 
GeneralRe: How to send a message from a rich text box control to a form Pin
Arthur V. Ratz14-Aug-15 3:59
professionalArthur V. Ratz14-Aug-15 3:59 
GeneralRe: How to send a message from a rich text box control to a form Pin
Arthur V. Ratz14-Aug-15 6:30
professionalArthur V. Ratz14-Aug-15 6:30 
GeneralRe: How to send a message from a rich text box control to a form Pin
Member 1144608014-Aug-15 18:24
Member 1144608014-Aug-15 18:24 

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.