File: fdate.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 (21 lines) | stat: -rw-r--r-- 1,069 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
      SUBROUTINE fdate(Dattim)
      IMPLICIT NONE
c-----------------------------------------------------------------------
c     Mimics the SUN system routine that prints the date and time
c-----------------------------------------------------------------------
      CHARACTER Dattim*24
c-----------------------------------------------------------------------
c      date is a Lahey DOS interface routine that returns the 
c      current time of day in MM/DD/YY format, left-justified and
c      space filled.
c-----------------------------------------------------------------------
      call date_and_time(date=Dattim(3:10))
c-----------------------------------------------------------------------
c      time is a Lahey DOS interface routine that returns the 
c      current time of day in HH:MM:SS.hh format, left-justified and
c      space filled.
c-----------------------------------------------------------------------
      CALL date_and_time(time=Dattim(13:24))
c     ------------------------------------------------------------------
      RETURN
      END