Converts the MySQL date format by splitting on the hyphen (or other characters by using sep).
Date must be year-month-day, and month must be numeric (create.fulldate takes any format).
In most cases, create.fulldate is preferable, but Mysql allows dates with zeroes (1995-00-00 or 2002-2-00), and create.fulldate cannot handle those; this allows the 0 to be read.
1 | create.fulldate.split(datestr, sep = "-")
|
1 2 3 4 | ## Not run:
create.fulldate.split(c('23-10-2010','29-0-1956'),sep='-')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.