Rational Developer for System z
PL/I for Windows, Version 7.6, Programming Guide

DAYSTODATE

DAYSTODATE returns a nonvarying character string containing the date in the form p that corresponds to d days (in Lilian format).

d
The number of days (in Lilian format).

d must have a computational type and is converted to FIXED BINARY(31,0) if necessary.

p
One of the supported date patterns shown in Table 36. If omitted, the compiler assumes that p is the default pattern returned by the DATETIME built-in function (YYYYMMDDHHMISS999).

p should have character type. If not, it is converted to character.

w
An integer expression that defines a century window to be used to handle any two-digit year formats.

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)