getDateFmt: Get date format

Description Usage Arguments Value Author(s)

View source: R/file_manipulation.R

Description

Function to guess the date format from an input string

Usage

1
getDateFmt(inputString)

Arguments

inputString

String containing a date formatted either as yyyy-mm-dd HH:MM:SS or mm/dd/yyyy HH:MM:SS

Value

A date format string, either "%Y-%m-%d %H:%M:%S" or "%m/%d/%Y %H:%M:%S"

Author(s)

Katherine Ellis


kkatellis/TLBC documentation built on May 20, 2019, 10:26 a.m.