what to use

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I am working on an online timesheet system. Where users will enter hours
they worked from and how long they worked on a oparticular project.

Which datatype would be the best one to use for handling this type of
information? Is it DateTime or is there something better?

Thanks Chris
 
Based on what you've stated, you'll probably want
to use a float, numeric, or decimal data type. Read
up on the precision in SQL Server help (assuming
that is your database).

Definitely don't use an integer and datetime probably
isn't a good fit if your people aren't clocking in and out
on a project.

--
Robbe Morris - 2004/2005 Microsoft MVP C#

Earn money answering .NET Framework
messageboard posts at EggHeadCafe.com.
http://www.eggheadcafe.com/forums/merit.asp
 
Thanks Robbe. I forgot to mention that the data they are entering hast to be
in this format:

08:30 or 17:30

Thanks again

Chris
 
Back
Top