home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS - Coast to Coast / simteldosarchivecoasttocoast2.iso / calculat / hrs411.zip / HRS411.DOC < prev    next >
Text File  |  1991-07-24  |  3KB  |  63 lines

  1. Hrs411                  Version 4.11
  2.  
  3. This program takes a starting and ending time and calculates the difference
  4. as hours and fractions of hours.  For example an ending time of 3:45
  5. and a starting time of 1:15 returns the value 2.500 hours.  The program
  6. allows for times ending in the evening and starting in the morning such as
  7. ending at 2:30 and beginning at 10:15.  The result would be 4.250 hours.
  8. The maximum difference using 12 hour entry is 12 hours (actually 11.999).
  9. For time spans of greater than 12 hours use Military time such as 20:00 for
  10. 8:00 PM.  Then a span of 24 hours is allowed.
  11.  
  12. The entry format is as HH:MM (HH;MM also allowed for fumble fingers like me)
  13. and 2:00 can be entered simply as 2.  Entering AM or PM will result  in
  14. error and the program will ask you for input in the HH:MM format.
  15. Fraction of minutes are not allowed (example 3:45.6 is NOT allowed).  Actually
  16. you can enter more than 24 hours and more than 60 minutes (though I don't
  17. know why you'd want to) but the total input length is limited to 6 characters
  18. including the ':'.
  19.  
  20. Entry errors won't hang up the program or give goofy results.  The program
  21. will simply ask for either an ending time or starting time until it gets
  22. one in the format that it wants.
  23.  
  24. As the program calculates the time elapsed between times, it also keeps
  25. a running total of of the times until you hit 'C' or 'c' to clear the total.
  26. This is useful if you're keeping up with the total time per day on a project
  27. or projects.  Hitting 'C' clears the total and resets the set counter to
  28. 1.  As you complete the time total at the end of the day for one project
  29. you would clear the total and start over for another project.
  30.  
  31. To exit the program hit 'Q' or 'q'.  The program instructs you as it runs.
  32.  
  33. Three files are included with this program.  The only one needed 
  34. is HRS411.EXE. The other two are this file, HRS411.DOC, and the 
  35. source code, HRS411.C, (Turbo C++) for those of you who are 
  36. interested.  To use the program simply copy HRS411.EXE to your hard 
  37. drive or a floppy you want to use.  You may want to shorten the 
  38. name for convience.  Assuming the file is in A: drive and you are 
  39. going to copy to a directory UTILITY on you hard drive the 
  40. following command would copy  the program and give it a shorter 
  41. name:
  42.  
  43. For example:  copy a:\HRS411.EXE C:\UTILITY\HRS.EXE
  44.  
  45. or whatever floats your boat.
  46.  
  47. And the program's free.  I work cheap.  It is not public domain. I 
  48. retain the copyrights.   You can distribute it and use it with no 
  49. restrictions.  You can make copies of it.  You may not charge for 
  50. it or include it with other programs being sold.  You may not 
  51. change it in any way.  The executable program, HRS411.EXE, the 
  52. documentation, HRS411.DOC and the source code HRS411.C are under 
  53. copyright with all rights reserved.  Parts of the program are 
  54. under Borland copyright.
  55.  
  56. Suggestions and constructive criticism can be sent to
  57. GEnie D.TERRY6 or COMPUSERVE 76662,3035.
  58.  
  59. Doug Terry
  60. Angleton, Texas
  61.  
  62.  
  63.