dot-getValidTimes: Read Times from Given Lines

.getValidTimesR Documentation

Read Times from Given Lines

Description

Read Times from Given Lines

Usage

.getValidTimes(mylines, timeformat = "%y-%m-%d %H:%M:%S")

Arguments

mylines

vector of character, each representing a line of a text file

timeformat

time format to be looked for in mylines. Default: "%y-%m-%d %H:%M:%S"

Value

list with elements tstamps (timestamps as text in ISO format) and tstampIndex (contains for each text line the index in tstamps at which the timestamp corresponding to the line is found.


KWB-R/kwb.logger documentation built on June 18, 2022, 1:49 a.m.