Description Usage Arguments Value Author(s) Examples
Converts a vector of dates (class 'Date') to months elapsed since 1st january 1900.
1 | Date_as_cmc (x,format.in)
|
x |
Vector of dates. The Date vector is of class 'Date' |
format.in |
Format of date |
cmc |
Dates in cmc |
selectday |
Day of the month |
Frans Willekens
1 2 | Date_as_cmc("2010-10-30","%Y-%m-%d")
# cmc is 1330 and day of month is 30
|
$cmc
[1] 1330
$selectday
[1] 30
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.