reformatTimestamp: Convert Timstamp String from one Format to another

Description Usage Arguments

View source: R/main.R

Description

Convert Timstamp String from one Format to another

Usage

1
reformatTimestamp(x, old.format = NULL, new.format = NULL, ...)

Arguments

x

vector of timestamps (character)

old.format

format in which timestamps in x are given. Default: "%Y-%m-%d %H:%M:%S"

new.format

format to be applied to timestamps. Default: "%Y-%m-%d %H:%M:%S"

...

further arguments passed to hasTimeFormat, such as method


KWB-R/kwb.datetime documentation built on July 9, 2021, 10:28 p.m.