cmc_as_Date: Converts a vector of dates in Century Month Code (CMC) to object of class 'Date'.
Description
Converts vector of dates in Century Month Code (CMC) to object of class 'Date'.
Usage
cmc_as_Date (x,selectday,format.out)
Arguments
x
Date in Century Month Code
selectday
If input date is in Century Month Code (year and month), selectday gives the day of the month. Default value is one, the transition occurs on the 1st of the month.
format.out
Format of output dates
Value
Dates (object of class 'Date'): days since 1-1-1970 and printed as date in Gregorian calendar, e.g. "1946-03-01"