Print a Timestamp

TIMESTAMP is a FORTRAN77 library which prints the current YMDHMS date (year-month-day-hours-minutes-seconds) as a timestamp.

This is useful when documenting the run of a program. By including a timestamp, the output of the program will always contain a clear indication of when it was created. Other indicators, such as the file modification timestamp, may be misleading or subject to unintentional modification.


The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.


TIMESTAMP is available in a C version and a C++ version and a FORTRAN77 version and a FORTRAN90 version and a JAVA version and a Mathematica version and a MATLAB version and a PYTHON version.

Related Data and Programs:

TIMER, a FORTRAN77 program which illustrates how the execution of a program can be timed.

WTIME, a FORTRAN77 library which returns a reading of the wall clock time in seconds.

Source Code:

Examples and Tests:

List of Routines:

You can go up one level to the FORTRAN77 source codes.

Last revised on 28 November 2006.