getFormats: Functions to retrieve (or set) formats used for parsing...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/RcppExports.R

Description

The time and date parsing and conversion relies on trying a (given and fixed) number of timeformats. The format used is the one employed by the underlying implementation of the Boost date_time library.

Usage

1
2
3

Arguments

fmt

A vector of character values in the form understood by Boost date_time

Value

Nothing in the case of addFormats; a character vector of formats in the case of getFormats

Author(s)

Dirk Eddelbuettel

See Also

anytime-package and references therein

Examples

1
2
3
  getFormats()
  addFormats(c("%d %b %y",      # two-digit date [not recommended], textual month
               "%a %b %d %Y"))  # weekday weeknumber four-digit year

anytime documentation built on Nov. 14, 2018, 9:04 a.m.