dates(x, format = "m/d/y", out.format, origin) origin(date)
The origin function extracts the origin of an object of class "dates".
Using words rather than letters causes the month and year to be written out fully, rather than as two digit numbers. Using "mon" for the month will result in three-letter abbreviations for the month names.
tday <- dates("25-11-93", format="d-m-y", out="day mon year") tday# produces the following output: [1] 25 Nov 1993
origin(tday)
# produces the following output: month day year 1 1 1960