Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: Working with TimeSpan


Message #1 by "Hugh McLaughlin" <hugh@k...> on Sun, 5 Jan 2003 03:11:29
Hello Everyone and thanks for your help in advance.  I am working on a 
time clock application that measures the amount of time an employee works 
each day.  I am using the TimeSpan function to calculate the time 
worked.  The report it generates can be seen at:

http://www.hughmclaughlin.com/payrollreport2.aspx

However, I have two questions.  First, as you can see by the example, I 
cannot seem to format the time.  I have tried the formatting used for 
time (hh:mm) but that is giving me an error.  Second, I do not know how 
to total the timespans onces the individual times have been calcualted.  
Any help on these issues would be greatly appreciated.  Thanks.

  Return to Index