You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like my document's date to be effectively the equivalent of quarto's new "now" keyword. The problem is that the remote system on which I use quarto has its system time set as UTC +0, but I am in a different timezone.
In rmarkdown, you can do something like: date: "`r format(Sys.time(), '%Y-%m-%d %H:%M', tz='America/New_York')`"
which would convert the time appropriately.
I see options in date-format to show the system's timezone, but none that would perform timezone conversion.
I found this discussion in my search (#452) but it appears that OPs question was answered with the addition of the "now" keyword.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I would like my document's date to be effectively the equivalent of quarto's new "now" keyword. The problem is that the remote system on which I use quarto has its system time set as UTC +0, but I am in a different timezone.
In rmarkdown, you can do something like:
date: "`r format(Sys.time(), '%Y-%m-%d %H:%M', tz='America/New_York')`"
which would convert the time appropriately.
I see options in date-format to show the system's timezone, but none that would perform timezone conversion.
I found this discussion in my search (#452) but it appears that OPs question was answered with the addition of the "now" keyword.
Any ideas? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions