When you create
an access descriptor, SAS cannot distinguish a Lotus datetime value
from other numeric data. SAS stores the Lotus datetime value as a
number and displays it using the SAS variable format 15.2 (the default
format for this interface).
To convert a Lotus datetime
value to a SAS datetime value, you must specify a SAS datetime format
in the access descriptor. A Lotus datetime value is a number that
represents the number of days between January 1, 1900, and a specified
date. Changing the default SAS format (15.2) to a datetime format
in the descriptor causes the Lotus value to be converted to an equivalent
SAS datetime value based on January 1, 1960.
If a SAS datetime format
is stored in a column's descriptor, the Lotus value for January 1,1960
(21,916) is converted to the SAS value for January 1,1960 (0). Otherwise,
the Lotus value of 21,916 is treated as a SAS numeric value of 21,916.
Value-to-Format Conversions
|
|
|
integer portion of the
Lotus number
|
|
decimal portion of the
Lotus number
|
|
integer and decimal
portion of the Lotus number
|