home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Database / CLIPR503.W96 / TIME87.C_ / TIME87.C
Text File  |  1995-06-20  |  1KB  |  59 lines

  1. /***
  2. *
  3. *  Time87.ch
  4. *
  5. *  Summer '87 Examplep.prg compatibility header file
  6. *
  7. *  Copyright (c) 1993-1995, Computer Associates International, Inc.
  8. *  All rights reserved.
  9. *
  10. */
  11.  
  12.  
  13. /***
  14. *  Days( <nSeconds> ) --> nDays
  15. *  Convert numeric seconds to days.
  16. */
  17. #translate Days(<nSeconds>) => SecondsAsDays(<nSeconds>)
  18.  
  19.  
  20.  
  21. /***
  22. *  AmPm( <cTime> ) --> cTime
  23. *  Convert a time string to 12-hour format.
  24. */
  25. #translate AmPm(<cTime>) => TimeAsAMPM( <cTime> )
  26.  
  27.  
  28.  
  29. /***
  30. *  Secs( <cTime> ) --> nSeconds
  31. *  Convert a time string to number of seconds from midnight.
  32. */
  33. #translate Secs(<cTime>) => TimeAsSeconds(<cTime>)
  34.  
  35.  
  36.  
  37. /***
  38. *  Tstring( <nSeconds> ) --> cTime
  39. *  Convert numeric seconds to a time string.
  40. */
  41. #translate Tstring(<nSeconds>) => TimeAsString(<nSeconds>)
  42.  
  43.  
  44.  
  45. /***
  46. *  ElapTime( <cStartTime>, <cEndTime> ) --> cDiffTime
  47. *  Return the difference between two time strings in the form hh:mm:ss.
  48. */
  49. #translate ElapTime(<cStartTime>, <cEndTime>) => ;
  50.    TimeDiff(<cStartTime>, <cEndTime>)
  51.  
  52.  
  53.  
  54. /***
  55. *  ValidTime( <cTime> ) --> lValid
  56. *  Validate a time string.
  57. */
  58. #translate ValidTime(<cTime>) => TimeIsValid( <cTime> )
  59.