4 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Mike Askew

Howdy I have a timespan that contain in excess of 24 hours. For the example lets use a value of 1 day 6 hours and 32 minutes. I would like to get this into a string that displays "30:32". Have so far tried something along the lines of `string.Format("{0}:{1}", TimeSpan.TotalHours, …

Member Avatar for Teme64
0
2K
Member Avatar for castajiz_2

if (ts1.CompareTo(DateTime.Now) == -1 && ts2.CompareTo(DateTime.Now) == -1) { MessageBox.Show("...."); } the function asks for a object, i gave an object...

Member Avatar for ddanbe
0
173
Member Avatar for jlivvers

Hi is there an accepted way to calculate the number of times a specific day would come round in a given timespan? For example if we have 32 as a variable that represents the number of weeks I would then need to find out how many times the first of …

Member Avatar for jlivvers
0
123
Member Avatar for NOLK

Hello all, I'm really struggling to find a way or method to convert my TimeSpan data type into an Int so I can put the value into an Array. Now I know you can't actually convert the TimeSpan variable into Int, but is there some sort of work around? This …

Member Avatar for Geekitygeek
0
324

The End.