Previous Page | Next Page

Formats for NLS

HEBDATEw. Format



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

Syntax
Syntax Description
Details
Examples
See Also

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

[Details]

default

[Details]

short

[Details]


Examples

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]
put day hebdate16.;
[untitled graphic]
put day hebdate24.;
[untitled graphic]


See Also

Informats:

HDATEw. Format

Previous Page | Next Page | Top of Page