Skip to contents

Convert date string to string and stop on failure

Usage

hsStringToDate(strDate, dateFormat)

Arguments

strDate

(vector of) string(s) representing date(s)

dateFormat

date format specifier describing the format in which dates are represented in the csv file. Use placeholders , "%d" (day), "%m" (month), "%y" (2-digit year), "%Y" (4-digit year) to describe the date format. "%d.%m.%Y", "%d/%m/%y", "%Y-%m-%d" are examples for valid format specifiers.

Value

(vector of) Date object(s)