KPG1_FHDAT

Converts the NDF history date into a more-pleasing format

Description:

This makes a few minor modifications to the date string obtained from NDF history records to make it more like UNIX and astronomical style. Specifically two hyphens around the month are replaced by spaces, and the second and third letters of the month are made lowercase.

Invocation

CALL KPG1_FHDAT( DATE, STATUS )

Arguments

DATE = CHARACTER ( ) (Given and Returned)
On input the NDF format for a date and time, namely YYYY-MMM-DD HH:MM:SS.SSS. On exit, the KAPPA format for a date and time, namely YYYY Mmm DD HH:MM:SS.SSS
STATUS = INTEGER (Given and Returned)
The global status.