SAS 9.1.3 Integration Technologies » Developer's Guide


Java Clients

Datetime Values

Java, CORBA, and SAS all use different datetime formats:

Language Starting Date Increments
Java January 1, 1970 milliseconds
CORBA October 15, 1582 100s of nanoseconds
SAS January 1, 1960 seconds

The IOM Bridge for Java and the Java CORBA stubs for IOM objects specify datetimes using the CORBA datetime format and a data type of long. To assist with conversions between Java and CORBA datetime formats, use the DateConverter class, as described in the SAS Foundation Services class documentation. Conversions between CORBA and SAS datetime formats are handled automatically by the IOM Bridge for Java.