Previous Page | Next Page

Formats

JULDAYw. Format



Writes date values as the Julian day of the year.
Category: Date and Time
Alignment: right

Syntax
Syntax Description
Details
Examples

Syntax

JULDAYw.

Syntax Description

w

specifies the width of the output field.

Default: 3
Range: 3-32

Details

The JULDAYw. format writes SAS date values in the form ddd, where

ddd

is the number of the day, 1-365 (or 1-366 for leap years).


Examples

The example table uses the input values of 13515, which is the SAS date value that corresponds to January 1, 1997, and 13589, which is the SAS date value that corresponds to March 16, 1997.

SAS Statement Results
 
----+----1
put date julday3.;
  1
put date julday3.;
 75

Previous Page | Next Page | Top of Page