SOSetDateBase

Sets the base date. All subsequent dates are calculated as the sum of the base date and the given date value.

This function can only be called from the VwStreamSection function.

VOID SOSetDataBase(

    DWORD dwBase,

 

    WORD wFlags,

 

    HPROC reserved

 

   );

 

 

Parameters

dwBase

Base number of Julian days to be automatically added to dates. All dates are entered in Julian day format in the following manner:

Jan. 1, 4713 B.C.

Julian Day 1

Jan. 1, 1 A.D.

Julian Day 1721424

Jan. 1, 1900

Julian Day 2415021

Jan. 1, 1904

Julian Day 2416481

 

Formats supporting dates before 1582 are not supported.

wFlags

Action flag. This parameter can be the SO_LOTUSHELL value to correct for the Lotus 1-2-3  1990 leap year bug.

reserved

Reserved; do not use.

 

Return Values

None.