get_current_timestamp: Quickly get the current time stamp without the
need to handle format-options etc.
Description
Function to quickly get the current time stamp without
need to handle format-options etc.
Usage
get_current_timestamp(no_spaces = FALSE)
Value
The current timestamp in always the same format.
#'
Arguments
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.
get_current_timestamp(no_spaces = TRUE)
# Result: "2020-12-03-134354"get_current_timestamp()
# this is the same likeget_current_timestamp(no_spaces = FALSE)
# Result: "03.12.2020 - 13:43 UTC"