Skip to contents

Convert date type to YYYYMMDDHHmm string

Usage

YMDhms(x)

Arguments

x

A date object.

Value

A YYYYMMDDHHmm string

Examples

YMDhms(Sys.time())
#> [1] "20240202155255.51"