M mcnewsxp Nov 6, 2012 #1 it looks like if your time span goes over an hour myspan.Minutes only returns the minutes over the hour. i need all the minutes. ? tia, mcnewsxp
it looks like if your time span goes over an hour myspan.Minutes only returns the minutes over the hour. i need all the minutes. ? tia, mcnewsxp
M mcnewsxp Nov 6, 2012 #2 it looks like if your time span goes over an hour myspan.Minutes only returns the minutes over the hour. i need all the minutes. ? tia, mcnewsxp Click to expand... myspan,TotalMinutes duh...
it looks like if your time span goes over an hour myspan.Minutes only returns the minutes over the hour. i need all the minutes. ? tia, mcnewsxp Click to expand... myspan,TotalMinutes duh...
F Finn Stampe Mikkelsen Nov 7, 2012 #3 Or.... TMinuttes = (myspan.Hours * 60) + myspan.Minuttes; /Finn "mcnewsxp" skrev i meddelelsen it looks like if your time span goes over an hour myspan.Minutes only returns the minutes over the hour. i need all the minutes. ? tia, mcnewsxp Click to expand... myspan,TotalMinutes duh...
Or.... TMinuttes = (myspan.Hours * 60) + myspan.Minuttes; /Finn "mcnewsxp" skrev i meddelelsen it looks like if your time span goes over an hour myspan.Minutes only returns the minutes over the hour. i need all the minutes. ? tia, mcnewsxp Click to expand... myspan,TotalMinutes duh...
A Arne Vajhøj Nov 8, 2012 #4 "mcnewsxp" skrev i meddelelsen Or.... TMinuttes = (myspan.Hours * 60) + myspan.Minuttes; Click to expand... That does neither return the same data type or the same value. 1h1m1s results in 61 and 61.016666666666666 respectively. Arne
"mcnewsxp" skrev i meddelelsen Or.... TMinuttes = (myspan.Hours * 60) + myspan.Minuttes; Click to expand... That does neither return the same data type or the same value. 1h1m1s results in 61 and 61.016666666666666 respectively. Arne
A Arne Vajhøj Nov 8, 2012 #5 That does neither return the same data type or the same value. 1h1m1s results in 61 and 61.016666666666666 respectively. Click to expand... One could also argue that it is not good to do calculations that .NET can do for one. But the risk of minutes per hour to be changed is not that big. Arne
That does neither return the same data type or the same value. 1h1m1s results in 61 and 61.016666666666666 respectively. Click to expand... One could also argue that it is not good to do calculations that .NET can do for one. But the risk of minutes per hour to be changed is not that big. Arne
J Jeff Johnson Nov 8, 2012 #6 One could also argue that it is not good to do calculations that .NET can do for one. But the risk of minutes per hour to be changed is not that big. Click to expand... Oh yeah? What about when we all switch to METRIC TIME, huh?
One could also argue that it is not good to do calculations that .NET can do for one. But the risk of minutes per hour to be changed is not that big. Click to expand... Oh yeah? What about when we all switch to METRIC TIME, huh?
A Arne Vajhøj Nov 10, 2012 #7 Oh yeah? What about when we all switch to METRIC TIME, huh? Click to expand... I would be willing to take the chance that decimal time got implemented in my time ... Arne
Oh yeah? What about when we all switch to METRIC TIME, huh? Click to expand... I would be willing to take the chance that decimal time got implemented in my time ... Arne
F Finn Stampe Mikkelsen Nov 11, 2012 #8 "Peter Duniho" skrev i meddelelsen Or.... TMinuttes = (myspan.Hours * 60) + myspan.Minuttes; But that only works if TotalHours < 24. It also doesn't take into account the seconds, if that's important. The OP really does want TotalMinutes. It's silly to try to compute from scratch something that the data structure already provides directly. Click to expand... Point taken. Same goes for Arne's point !!
"Peter Duniho" skrev i meddelelsen Or.... TMinuttes = (myspan.Hours * 60) + myspan.Minuttes; But that only works if TotalHours < 24. It also doesn't take into account the seconds, if that's important. The OP really does want TotalMinutes. It's silly to try to compute from scratch something that the data structure already provides directly. Click to expand... Point taken. Same goes for Arne's point !!