home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Languages Suite
/
ProgramD2.iso
/
Database
/
CLIPR503.W96
/
TIME87.C_
/
TIME87.C
Wrap
Text File
|
1995-06-20
|
1KB
|
59 lines
/***
*
* Time87.ch
*
* Summer '87 Examplep.prg compatibility header file
*
* Copyright (c) 1993-1995, Computer Associates International, Inc.
* All rights reserved.
*
*/
/***
* Days( <nSeconds> ) --> nDays
* Convert numeric seconds to days.
*/
#translate Days(<nSeconds>) => SecondsAsDays(<nSeconds>)
/***
* AmPm( <cTime> ) --> cTime
* Convert a time string to 12-hour format.
*/
#translate AmPm(<cTime>) => TimeAsAMPM( <cTime> )
/***
* Secs( <cTime> ) --> nSeconds
* Convert a time string to number of seconds from midnight.
*/
#translate Secs(<cTime>) => TimeAsSeconds(<cTime>)
/***
* Tstring( <nSeconds> ) --> cTime
* Convert numeric seconds to a time string.
*/
#translate Tstring(<nSeconds>) => TimeAsString(<nSeconds>)
/***
* ElapTime( <cStartTime>, <cEndTime> ) --> cDiffTime
* Return the difference between two time strings in the form hh:mm:ss.
*/
#translate ElapTime(<cStartTime>, <cEndTime>) => ;
TimeDiff(<cStartTime>, <cEndTime>)
/***
* ValidTime( <cTime> ) --> lValid
* Validate a time string.
*/
#translate ValidTime(<cTime>) => TimeIsValid( <cTime> )