README.md
README.1ST [310,4] Brad L. Tinney

Clunk Library - A collection of routines to handle 8-byte clunks. A clunk being
the number of 100 nano-second time intervals since 17-NOV-1858.
That date being the Smithsonian Astrophysical Base Date
(celebrating the day the first photographic plate was exposed
at the Harvard Smithsonian Observatory). These routines make
use of the routines in the STRLIB library on account [310,3].
Two macro routines are included and part of the library.

Clunks are used as the time/date field by Datatrieve as well as
time fields in file headers.

ASCCLK Routine to convert a time/date ascii string to an 8 byte
CLUNK value. The input string is null terminated and always 18
bytes long in the following format: hh:mm:ss dd-mmm-yy

CLKASC Routine to convert an 8 byte CLUNK value to a time/date
ascii string. The output string is null terminated and always 18
bytes long in the following format: hh:mm:ss dd-mmm-yy


TIMCLK Routine to get the current time and return the time/date in the
8-byte clunk format.