| Functions and CALL Routines |
| Category: | Date and Time |
| Syntax | |
| Arguments | |
| Examples | |
| See Also |
Syntax |
| DATEPART(datetime) |
| Examples |
The following SAS statements produce this result:
| SAS Statements | Results |
|---|---|
conn='01feb94:8:45'dt; servdate=datepart(conn); put servdate worddate.; |
February 1, 1994 |
| See Also |
|
|
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.