This works for [bookdown](https://bookdown.org/yihui/rmarkdown-cookbook/update-date.html):

```
"`r format(Sys.time(), '%d %B, %Y')`"
```
But shows "invalid date" in quarto yaml

```
book:
  title: "My book"
  author: "Me"
  date: "`r format(Sys.time(), '%d %B, %Y')`"
```

```
> sessionInfo()
R version 4.0.2 (2020-06-22)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Catalina 10.15.7

Matrix products: default
BLAS:   /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices datasets  utils     methods   base     

loaded via a namespace (and not attached):
 [1] compiler_4.0.2  fastmap_1.1.0   htmltools_0.5.2 tools_4.0.2    
 [5] rmarkdown_2.12  knitr_1.37      xfun_0.30       digest_0.6.29  
 [9] rlang_1.0.2     renv_0.14.0     evaluate_0.15  
```
2022-04-06T16:49:56Z
ericpgreen
closed
automatic date in YAML
https://github.com/quarto-dev/quarto-cli/issues/553