Chapter Contents |
Previous |
Next |
YYQ |
Category: | Date and Time |
Syntax | |
Arguments | |
Details | |
Examples | |
See Also |
Syntax |
YYQ(year,quarter) |
Details |
The YYQ function returns a SAS date value that corresponds to the first day of the specified quarter. If either year or quarter is missing, or if the quarter value is not valid, the result is missing.
Examples |
SAS Statements | Result |
---|---|
dv=yyq(2001,3); put dv / dv date7. / dv date9.; |
15157 01JUL01 01JUL2001 |
See Also |
Functions:
| |||||
System
Option:
|
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.