MemCom Reference Manual > MemCom (Old) Fortran77 API > Utility Functions > ascdat

Name

ascdat — Get current date

Synopsis

subroutine ascdat(string)
character*10 string

Description

ascdat copies the current date in the form of a string dd-mm-yyyy to a character string given in the argument list. The string must be at least 10 characters wide. dd is the day, mm the month, and yyyy the year. All values are in numerical form.

Parameters

string

Date returned (output). The string must be dimensioned to a character*n variable, where n is at least 10.