SURVO MM Help System (web edition)

Date conversions in Survo data sets 

DATE <data> 
makes date conversions in Survo data set <data>. The variables are
activated by special mask characters. The conversions can be limited
to observations selected by IND, CASES and SELECT specifications.

The input consists of one or more dates. In the case of one date,
several output options are available, and the input date may be
given either in one variable or split in three variables.
If more than one date is given as input, the same variables serve
as output, i.e. the original dates are replaced by the converted ones.

A large selection of date formats is available.

The rules of input and output are described in the following table:


Input masks and formats            Output masks and formats
---------------------------------  ---------------------------------
D,M,Y (one each) or i              d,a,j,w,J
                                     Format of d variable by ODATE
D (one with no M,Y)                d,a,j,w,J
  Format by IDATE                    Format of d variable by ODATE
D (one or more with no M,Y)        D
  Formats by IDATE                   Formats by ODATE
---------------------------------  ---------------------------------
D:day/date, M:month, Y:year, d:date, a:weekday (Mon,Tue,Wed,Thu,Fri,Sat,Sun)
j:day number (001-366), w:week number (01-53), J,i:Julian day number

The week numbers are calculated using a Finnish algorithm.
The Julian days may be scaled to a given date by specification
JULIAN_DAY0=<julian_day_number> . To find out the Julian day number
of a date, use  DATE <date>,Julian  in the edit field.

  F = Date formats 
  D = More information on DATE operation 


More information on Survo from www.survo.fi
Copyright © Survo Systems 2001-2012.
webmaster'at'survo.fi