now | R Documentation |
This function returns the current system time formatted according to the provided format string.
now(format = "%Y-%m-%d %H:%M:%OS2")
format |
A string representing the desired time format. Default is "%Y-%m-%d %H:%M:%OS2". |
A string representing the current system time in the specified format.
now() # e.g. "2024-06-12 16:09:32.41"
now("%H:%M:%S") # e.g. "16:09:32"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.