today() and now()

today() # just the date
## [1] "2024-07-19"
now() # date with timestamp
## [1] "2024-07-19 13:55:52 UTC"