powered by
Pandoc's mardown date.
pandoc.date.return(x, inline = TRUE, simplified = FALSE, ...)
By default this function outputs (see: cat) the result. If you would want to catch the result instead, then call the function ending in .return.
cat
.return
date or vector of dates
if to render vector of dates as inline paragraph or not (as list)
if just add date formatting to vector of dates
extra arguments passed by from parent call, disregarded
pandoc.date(Sys.Date()) pandoc.date(Sys.Date() - 1:10) pandoc.date(Sys.Date() - 1:10, inline = FALSE)
Run the code above in your browser using DataLab