Previous Page
|
Next Page
DATETIME Function
Returns the current date and time of day as a SAS datetime value.
Category:
Date and Time
Syntax
DATETIME
()
Example
This example returns a SAS value that represents the number of seconds between January 1, 1960 and the current time:
when=datetime(); put when=;
See Also
Functions:
DATE Function
TIME Function
Copyright © SAS Institute Inc. All rights reserved.
Previous Page
|
Next Page
|
Top of Page