hog Posted April 24, 2003 Posted April 24, 2003 I am trying to keep a running ttal of hours/minutes spent servicing equipment. I see now there is a Timespan object in .NET. Should I be using this to keep a time total or the Dateadd or Datediff functions. Quote My website
Leaders quwiltw Posted April 24, 2003 Leaders Posted April 24, 2003 I think you should be using TimeSpan since DataDiff is in the Microsoft.VisualBasic namespace. But that's probably little more than a personal preference to try and avoid that namespace as much as possible. Quote --tim
hog Posted April 24, 2003 Author Posted April 24, 2003 OK thanks, but can you explain why you should avoid the microsoft.visualbasic namespace? Quote My website
Leaders Squirm Posted April 24, 2003 Leaders Posted April 24, 2003 For easier portability to C# I would think. Quote Search the forums | Still IRCing | Be nice
hog Posted April 24, 2003 Author Posted April 24, 2003 Aha, so no problem then if I'm never gonna use C#? Quote My website
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.