Previous Page | Next Page

Informats

JULIANw. Informat



Reads Julian dates in the form yyddd or yyyyddd.
Category: Date and Time

Syntax
Syntax Description
Details
Examples
See Also

Syntax

JULIANw.

Syntax Description

w

specifies the width of the input field.

Default: 5
Range: 5-32

Details

The date values must be in the form yyddd or yyyyddd, where

yy or yyyy

is a two-digit or four-digit integer that represents the year.

dd or ddd

is an integer from 01 through 365 that represents the day of the year.

Julian dates consist of strings of contiguous numbers, which means that zeros must pad any space between the year and the day values.

Julian dates that contain year values before 1582 are invalid for the conversion to Gregorian dates.

Note:   SAS interprets a two-digit year as belonging to the 100-year span that is defined by the YEARCUTOFF= system option.  [cautionend]


Examples

input julian_date julian7.; 

Data Line Results*
----+----1

99075
14319
1999075
14319
* The input values correspond to the 75th day of 1999, which is March 16.


See Also

Format:

JULIANw. Format

Functions:

DATEJUL Function

JULDATE Function

System Option:

YEARCUTOFF= System Option

Previous Page | Next Page | Top of Page