Oracle Solaris Studio 12.4 Man Pages

Exit Print View

Updated: January 2015
 
 

itime(3F)

Name

itime - 以数字形式返回时间

Synopsis

subroutine  itime(iarray)
integer*4  iarray(3)

Description

itime 子例程将当前时间放置到整数数组 iarray 中。

顺序为:小时、分钟、秒。

示例:
demo% cat  iti1.f
integer*4  a(3)
call itime( a )
write(*,  (' The time is: ',3i5)"
end
demo% f77 -silent  iti1.f
demo% a.out
 The time is:    14     55     22
demo%

Files

libfui.alibV77.a

See also

time (3F) 、 ctime (3C) 、 fdate (3F) 、 idate (3F)

《FORTRAN 77 Reference Manual》