| Functions and CALL Routines |
| Category: | Date and Time |
| Syntax | |
| Arguments | |
| Details | |
| Examples | |
| See Also |
Syntax |
| DAY(date) |
| Details |
The DAY function produces an integer from 1 to 31 that represents the day of the month.
| Examples |
The following SAS statements produce this result:
| SAS Statements | Results |
|---|---|
now='05may97'd; d=day(now); put d; |
5 |
| See Also |
|
|
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.