dot-apply_datetime_format: Apply a date/time format to a vector

.apply_datetime_formatR Documentation

Apply a date/time format to a vector

Description

Handles Date, POSIXct, numeric (R epoch), and character inputs.

Usage

.apply_datetime_format(x, format, keep_na = FALSE)

Arguments

x

Input vector

format

A ks_format object with date/time/datetime type

keep_na

Logical. Preserve NA instead of applying missing label.

Value

Character vector of formatted values


ksformat documentation built on May 21, 2026, 9:07 a.m.