timeFormatToRegex: Time Format String to Regular Expression Pattern

Description Usage Arguments

View source: R/matchingTimeFormat.R

Description

Convert a time format string to a regular expression pattern that can be used to check if a date or time string complies with a certain format.

Usage

1
timeFormatToRegex(timeformat)

Arguments

timeformat

time format string as used in R's format function with placeholders such as " etc., see as.POSIXct


KWB-R/kwb.datetime documentation built on July 9, 2021, 10:28 p.m.