Chapter Contents |
Previous |
Next |
MONTH |
Category: | Date and Time |
Syntax | |
Arguments | |
Details | |
Examples | |
See Also |
Syntax |
MONTH(date) |
Details |
The MONTH function returns a numeric value that represents the month from a SAS date value. Numeric values can range from 1 through 2.
Examples |
SAS Statements | Results |
---|---|
date='25jan94'd; m=month(date); put m; |
1 |
See Also |
Functions:
|
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.