libtime++: Date and time calculation
time_info.f
Go to the documentation of this file.
1 c this is <time_info.f>
2 c ----------------------------------------------------------------------------
3 c
4 c Copyright (c) 2007 by Thomas Forbriger (BFO Schiltach)
5 c
6 c print description of time format
7 c
8 c ----
9 c libtime is free software; you can redistribute it and/or modify
10 c it under the terms of the GNU General Public License as published by
11 c the Free Software Foundation; either version 2 of the License, or
12 c (at your option) any later version.
13 c
14 c This program is distributed in the hope that it will be useful,
15 c but WITHOUT ANY WARRANTY; without even the implied warranty of
16 c MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 c GNU General Public License for more details.
18 c
19 c You should have received a copy of the GNU General Public License
20 c along with this program; if not, write to the Free Software
21 c Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22 c ----
23 c
24 c REVISIONS and CHANGES
25 c 29/06/2007 V1.0 Thomas Forbriger
26 c
27 c ============================================================================
28 cS
29  subroutine timeinfo
30 c
31 c print description of time format
32 cE
33  print *,'Times and dates can be specified as follows:'
34  print *,'1. Absolute time'
35  print *,' defines a specific date, like '
36  & ,'2005/7/15_12:30 specifies the'
37  print *,' 15th of July in 2005 at half past twelve. '
38  & ,'The general format'
39  print *,' for absolute time is: '
40  & ,'yyyy/mm/dd/HH/MM/SS.SSSSSS'
41  print *,'2. Relative time'
42  print *,' specifies a time range like 0/8/15, which '
43  & ,'means 8 hours and'
44  print *,' fifteen minutes. The general format for '
45  & ,'relative time is'
46  print *,' dd/HH/MM/SS.SSSSSS'
47  print *,'In the format strings given above, `/` serves '
48  & ,'as a field separator.'
49  print *,'This character may be replaced by any '
50  & ,'non-digit character. Leading'
51  print *,'zeroes may be omitted in all fields, where '
52  & ,'yyyy means year, mm'
53  print *,'means month, dd means day, HH means hour, mm '
54  & ,'means minute and'
55  print *,'SS.SSSSSS means seconds. Seconds are '
56  & ,'specified as a floating point'
57  print *,'value with precision down to microseconds. '
58  & ,'Two-digit year values'
59  print *,'will be interpreted as years in the 20th '
60  & ,'century (for values larger'
61  print *,'than 69) or in the 21st century (for values '
62  & ,'smaller than 70).'
63  print *,'Fields from HH on may be omitted.'
64 c
65  return
66  end
67 c
68 c ----- END OF time_info.f -----
subroutine timeinfo
Definition: time_info.f:30