| Formats for NLS |
| Category: | Date and Time |
| Alignment: | right |
| Syntax | |
| Syntax Description | |
| Details | |
| Examples | |
| See Also |
Syntax |
| HDATEw. |
specifies the width of the output field.
Note: Use
widths 9, 11, 15, or 17 for the best view. ![[cautionend]](../../../../common/63294/HTML/default/images/cautend.gif)
| Default: | 17 |
| Range: | 9-17 |
| Details |
The HDATEw. format writes the SAS date value in the form yyyy mmmmm dd:
is the year
is the Hebrew name of the month
is the day-of-the-month
| Examples |
The following example uses the input value of 15780, which is the SAS date of March 16, 2003.
| Statements | Results |
|---|---|
|
|
----+----1----+----2----+ |
put day hdate9.; |
03
16
|
put day hdate11.; |
2003
16
|
put day hdate17.; |
2003
16
|
| See Also |
|
Formats: |
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.