computeDate_mdy: Creates a date with the format month-day-year
Description
R Implementation of the SPSS DATE.MDY Function. computeDate_mdy is a helper function for xpssCompute.
Usage
computeDate_mdy(month=NULL,day=NULL, year= NULL)
Arguments
month
atomic numeric or integer.
day
atomic numeric or integer.
year
atomic numeric or integer.
Value
Returns a character or character vector of the structure month-day-year
Details
An character string as Date. Returns a date value corresponding to the indicated day, month, and year. The arguments must resolve to integers or numerics, with day between 1 and 31, month between 1 and 12, and year a four-digit integer value.