View source: R/get_current_timestamp.R
get_current_timestamp | R Documentation |
Function to quickly get the current time stamp without need to handle format-options etc.
get_current_timestamp(no_spaces = FALSE)
no_spaces |
Boolean. Default = 'FALSE'. Specifies whether the output can contain spaces or not. E.g. if the output is for human reading, 'no_spaces = FALSE' is a good option. As suffix for file names (e.g. logfiles), 'no_spaces = TRUE' might be a good option. |
The current timestamp in always the same format. #'
get_current_timestamp(no_spaces = TRUE)
# Result: "2020-12-03-134354"
get_current_timestamp()
# this is the same like
get_current_timestamp(no_spaces = FALSE)
# Result: "03.12.2020 - 13:43 UTC"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.