Writes date values according to the Jewish calendar.
Category: |
Date and Time
|
Alignment: |
right
|
- w
-
specifies the width of the output field.
The Jewish calendar is a combined solar and lunar calendar.
Years are counted from the creation of the world, which according to Jewish
history, occurred 3760 years and three months before the commencement of the
Christiar. You must add 3761, beginning in the autumn of a specified year
in the Gregorian calendar to calculate the Hebrew year.
The HEBDATEw. format writes the SAS date
value according to the Jewish calendar. The date is written in one of the
following formats:
The following example uses the input value of 15780, which is the SAS
date of March 16, 2003.
Statements |
Results |
|
----+----1----+
|
put day hebdate13.;
|
![[untitled graphic]](images/hebdate-d.gif)
|
put day hebdate16.;
|
![[untitled graphic]](images/hebdate-e.gif)
|
put day hebdate24.;
|
![[untitled graphic]](images/hebdate-f.gif)
|
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.