Date Operations - Numeric Dates Tab

Select the Numeric Dates tab of the Date Operations dialog box to access the options described here.

Date Methods. Use the options in the Date Methods group box to specify either a single date variable from two or three variables (containing the month and year, day and month, day and year, or month, day, and year) or split a single date variable into one, two, or three variables (one each for the day, month, year, month and year, day and month, day and year, or month, day, and year).

Source Variables/Destination Variables. The options in the Source Variables and Destination Variables group boxes are used to specify the new variable(s) that is (are) being created from the original date variable(s), respectively. To display a list of the current variables in the data file, double-click (or press F2) in Day, Month, Year, or Name boxes. When the Create Date from 2 or 3 Variables option button is selected, you will have the option of selecting a different format for the new variable from the Format list, or selecting the Data-defined Date Format check box to specify that the format remain as originally defined in the variable specs dialog box.

Note: Conversion of Julian days to displayed dates. The exact algorithm of how integer values (Julian date or "days") are converted to standard dates and vice versa is affected by the setting of the Adjust Julian dates to account for no leap year in 1900 option in the Options dialog box - Spreadsheet tab. For example, a date entered and displayed as 1/21/1968 may be stored as the Julian date 24858 or 24856, depending on the setting of that option. See also, How are dates represented in Statistica data files?