Pandoc's mardown date.
Value
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.
Examples
pandoc.date(Sys.Date())
#> 2026/02/04 00:00:00
pandoc.date(Sys.Date() - 1:10)
#> _2026/02/03 00:00:00_, _2026/02/02 00:00:00_, _2026/02/01 00:00:00_, _2026/01/31 00:00:00_, _2026/01/30 00:00:00_, _2026/01/29 00:00:00_, _2026/01/28 00:00:00_, _2026/01/27 00:00:00_, _2026/01/26 00:00:00_ and _2026/01/25 00:00:00_
pandoc.date(Sys.Date() - 1:10, inline = FALSE)
#>
#> * 2026/02/03 00:00:00
#> * 2026/02/02 00:00:00
#> * 2026/02/01 00:00:00
#> * 2026/01/31 00:00:00
#> * 2026/01/30 00:00:00
#> * 2026/01/29 00:00:00
#> * 2026/01/28 00:00:00
#> * 2026/01/27 00:00:00
#> * 2026/01/26 00:00:00
#> * 2026/01/25 00:00:00