Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding time
Message
From
24/02/2010 18:09:49
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
 
To
24/02/2010 17:45:14
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Miscellaneous
Thread ID:
01450864
Message ID:
01450878
Views:
46
>Using MM.NET and so far it Rocks. Thanks to Kevin and Tim. Thanks guys for all the help!
>
>I am trying to add time values [HHHH:MM] that are in entity rows and I was wondering if anyone has seen a method to do this. I am aware of the TimeSpan() functions, etc. but these all roll-over the hours when it hits the 23 + 1 to Days. I need to add values like 123:15 + 50:46, etc which would equal 174:01. I have a method in VFP that does this very well but I did not want to reinvent the wheel in .NET if I do not have to.

Hi Johnny,
As always, you are welcome.

You might consider posting in the Coding and syntax section for questions like these since I am not sure if everyone reads the Mere Mortals stuff. I do not know about any built in methods but it looks like you are just adding hours and minutes is that correct? It would be pretty easy to create a method to do that. I would guess you want the minutes to roll into hours but you don't want the hours to roll into days; yes? What is your data type in the entity?
Tim
Timothy Bryan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform