DATEPART Function
Extracts the date from a SAS datetime value.
Syntax
Required Argument
datetime
specifies a SAS expression
that represents a SAS datetime value.
Example
The following SAS statements
produce this result:
|
|
conn='01feb94:8:45'dt;
servdate=datepart(conn);
put servdate worddate.;
|
|