SASUnit Examples
Version 1.5.0
|
return a formatted timestamp string from a specified datetime value or from the current time. More...
Go to the source code of this file.
return a formatted timestamp string from a specified datetime value or from the current time.
For instance, to show the current time in the SAS log:: %PUT %timestamp; The following call writes a specific datetime to the SAS log: %PUT %timestamp('01JAN2000:00:00:00'dt);
dt | input datetime value or empty to use the current date and time. |
Definition in file _timestamp.sas.