File: gettim.f

package info (click to toggle)
x13as 1.1-B39-2
  • links: PTS, VCS
  • area: non-free
  • in suites: bullseye
  • size: 8,700 kB
  • sloc: fortran: 110,641; makefile: 14
file content (15 lines) | stat: -rw-r--r-- 631 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
      SUBROUTINE gettim(Hour,Minute,Second,Hundth)
      IMPLICIT NONE
c-----------------------------------------------------------------------
c     Return Hour, Minute, Seconds, and Hundreth of a Second in current
c     time
c-----------------------------------------------------------------------
      CHARACTER ctime*11
      INTEGER Hour,Minute,Second,Hundth
c-----------------------------------------------------------------------
      CALL TIME(ctime)
      READ(ctime,1000)Hour,Minute,Second,Hundth
 1000 FORMAT(3(i2,1x),i2)
c-----------------------------------------------------------------------
      RETURN
      END