HEBDATEw. Format

Writes date values according to the Jewish calendar.
Category: Date and Time
Alignment: right

Syntax

HEBDATEw.

Syntax Description

w
specifies the width of the output field.
Default:16
Range:7–24

Details

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:
long
Hebrew
default
Hebrew
short
Hebrew

Example

The following example uses the input value of 15780, which is the SAS date of March 16, 2003.
Statements
Results
----+----1----+
put day hebdate13.;
Hebrew
put day hebdate16.;
Hebrew
put day hebdate24.;
Hebrew

See Also

Informat: