getDateFmt: Get date format

Description Usage Arguments Value Author(s)

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


TLBC documentation built on May 1, 2019, 8:44 p.m.