Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding time
Message
De
24/02/2010 18:09:49
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
À
24/02/2010 17:45:14
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Divers
Thread ID:
01450864
Message ID:
01450878
Vues:
47
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform