Contents | Prev | Next
7.4.25 The gettime procedure
Description
The gettime procedure retrieves the current system time.
Parameter
- The first parameter is a reference to a variable of
integer type or
word type which will store the current hour.
- The second parameter is a reference to a variable of
integer type or
word type which will store the current minute.
- The third parameter is a reference to a variable of
integer type or
word type which will store the current second.
Example
Suppose the current system time is 2:45:05 P.M. then after:
gettime(hour, minute, second)
hour = 14
minute = 45
second = 5
Portability
Operating Systems: All
Standard Pascal: No
Contents | Prev | Next