timestamp


timestamp, a Fortran77 code 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.

Licensing:

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

Languages:

timestamp is available in a C version and a C++ version and a Fortran90 version and a MATLAB version and an Octave version and a Python version and an R version.

Related Data and Programs:

timestamp_test

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:


Last revised on 10 December 2023.