Commit | Line | Data |
---|---|---|
3b9e8f30 C |
1 | .TH FDATE 3F "13 June 1983" |
2 | .UC 4 | |
3 | .SH NAME | |
4 | fdate \- return date and time in an ASCII string | |
5 | .SH SYNOPSIS | |
6 | .B subroutine fdate (string) | |
7 | .br | |
8 | .B character*(*) string | |
9 | .sp 1 | |
10 | .B character*(*) function fdate() | |
11 | .SH DESCRIPTION | |
12 | .I Fdate | |
13 | returns the current date and time as a 24 character string | |
14 | in the format described under | |
15 | .IR ctime (3). | |
16 | Neither 'newline' nor NULL will be included. | |
17 | .PP | |
18 | .I Fdate | |
19 | can be called either as a function or as a subroutine. | |
20 | If called as a function, the calling routine must define | |
21 | its type and length. For example: | |
22 | .nf | |
23 | ||
24 | character*24 fdate | |
25 | external fdate | |
26 | ||
27 | write(*,*) fdate() | |
28 | ||
29 | .fi | |
30 | .SH FILES | |
31 | .ie \nM /usr/ucb/lib/libU77.a | |
32 | .el /usr/lib/libU77.a | |
33 | .SH "SEE ALSO" | |
34 | ctime(3), time(3F), itime(3F), idate(3F), ltime(3F) |