Skip to content

A convenient wrapper to print the current date in a consistent format for all package suite functionality.

Usage

dater(x = "%Y-%m-%d")

Arguments

x

An alternative format to the standard format.

Value

The current date in YYYY-MM-DD format (default).

See also

Examples

# with default format
dater()
#> [1] "2024-11-10"

# pass alternative format
dater("%Y-%m-%d || %H:%M:%S")
#> [1] "2024-11-10 || 00:37:18"