Portability Function: Converts a system time into a 24-character ASCII string.
Module: USE DFPORT
Syntax
Results:
The result is a value in the form Mon Jan 31 04:37:23 1994. Hours are expressed using a 24-hour clock.
The value of stime can be determined by calling the TIME function. CTIME(TIME( )) returns the current time and date.
Compatibility
CONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIB
See Also: DATE_AND_TIME
Example
character (24) systime
systime = CTIME (TIME( ))
print *, 'Current date and time is ',systime