str_date_formatted: Function to format a date (usually) for printing.

View source: R/date_message.R

str_date_formattedR Documentation

Function to format a date (usually) for printing.

Description

Function to format a date (usually) for printing.

Usage

str_date_formatted(date = NA, time_zone = TRUE, fractional_seconds = TRUE)

Arguments

date

Optional, a date to be formatted.

time_zone

Should the time zone be printed with the date?

fractional_seconds

Should fractional seconds be included when printing the date?

Value

Character vector.

Author(s)

Stuart K. Grange


skgrange/threadr documentation built on May 11, 2024, 12:16 p.m.