Click here to Skip to main content
16,006,535 members
Home / Discussions / C#
   

C#

 
GeneralRe: calculating minutes in C# Pin
Luc Pattyn3-Jun-10 1:38
sitebuilderLuc Pattyn3-Jun-10 1:38 
GeneralRe: calculating minutes in C# Pin
OriginalGriff3-Jun-10 1:48
mveOriginalGriff3-Jun-10 1:48 
GeneralRe: calculating minutes in C# Pin
Luc Pattyn3-Jun-10 2:22
sitebuilderLuc Pattyn3-Jun-10 2:22 
GeneralRe: calculating minutes in C# Pin
Pete O'Hanlon3-Jun-10 1:46
mvePete O'Hanlon3-Jun-10 1:46 
GeneralRe: calculating minutes in C# Pin
OriginalGriff3-Jun-10 1:50
mveOriginalGriff3-Jun-10 1:50 
GeneralRe: calculating minutes in C# Pin
Luc Pattyn3-Jun-10 2:20
sitebuilderLuc Pattyn3-Jun-10 2:20 
GeneralRe: calculating minutes in C# Pin
Pete O'Hanlon3-Jun-10 3:13
mvePete O'Hanlon3-Jun-10 3:13 
GeneralRe: calculating minutes in C# Pin
Dan Mos2-Jun-10 9:12
Dan Mos2-Jun-10 9:12 
You are aware of the DateTime struct? Right?

Use it. You have two dates. Subtract from the most recent the other one witch will result in a
timespan(I think) and use the ToSeconds()*60 or ToTotalMiliseconds()*...

On a separte note if you read the documentation you'll be able to achive the computation of time between two dates.
Just an irritated, ranting son of ... an IT guy.
At your trolling services

GeneralRe: calculating minutes in C# Pin
dia 20102-Jun-10 9:32
dia 20102-Jun-10 9:32 
GeneralRe: calculating minutes in C# Pin
Not Active2-Jun-10 10:13
mentorNot Active2-Jun-10 10:13 
GeneralRe: calculating minutes in C# Pin
Dan Mos2-Jun-10 10:25
Dan Mos2-Jun-10 10:25 
GeneralI see Pin
Dan Mos2-Jun-10 12:37
Dan Mos2-Jun-10 12:37 
GeneralRe: I see Pin
Not Active2-Jun-10 12:51
mentorNot Active2-Jun-10 12:51 
GeneralRe: I see Pin
Dan Mos2-Jun-10 13:04
Dan Mos2-Jun-10 13:04 
GeneralRe: I see Pin
Not Active2-Jun-10 13:17
mentorNot Active2-Jun-10 13:17 
GeneralRe: I see Pin
Thomas Krojer4-Jun-10 0:41
Thomas Krojer4-Jun-10 0:41 
GeneralRe: calculating minutes in C# Pin
Luc Pattyn2-Jun-10 9:35
sitebuilderLuc Pattyn2-Jun-10 9:35 
GeneralMessage Removed Pin
2-Jun-10 9:41
dia 20102-Jun-10 9:41 
GeneralRe: calculating minutes in C# Pin
Not Active2-Jun-10 10:23
mentorNot Active2-Jun-10 10:23 
Questionresource file not found Pin
wpfcomputer2-Jun-10 8:06
wpfcomputer2-Jun-10 8:06 
AnswerRe: resource file not found Pin
Luc Pattyn2-Jun-10 8:16
sitebuilderLuc Pattyn2-Jun-10 8:16 
Questionopen .Net Application in Java Pin
bejjoy2-Jun-10 4:28
bejjoy2-Jun-10 4:28 
Answerwrong forum Pin
Luc Pattyn2-Jun-10 4:38
sitebuilderLuc Pattyn2-Jun-10 4:38 
QuestionStatus strip overlaps text box. Pin
False Chicken2-Jun-10 3:33
False Chicken2-Jun-10 3:33 
AnswerRe: Status strip overlaps text box. Pin
TimSWatson2-Jun-10 3:41
TimSWatson2-Jun-10 3:41 

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.