Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

timeDate-whichFormat

Format Recognation


Description

Trys to recognize the date/time format.

Usage

whichFormat(charvec, silent = FALSE)

Arguments

charvec

a character string or vector of dates and times.

silent

a logical flag. Should a warning be printed if the format cannot be recognized?

Value

returns a format string.

Examples

## midnightStandard -  
   whichFormat("2007-12-31 24:00")

timeDate

Rmetrics - Chronological and Calendar Objects

v3043.102
GPL (>= 2)
Authors
Diethelm Wuertz [aut], Tobias Setz [cre], Yohan Chalabi [ctb], Martin Maechler [ctb], Joe W. Byers [ctb]
Initial release
2018-02-21

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.