timeFormatting: timeFormatting

Description Usage Arguments Value

View source: R/utils-html.R

Description

Formats date to passed-in format mask, and time to "(UTC [offset] )"

Usage

1
timeFormatting(timeVals, dateFormatMask, splitChar = "[T]")

Arguments

timeVals

String with format of "YYYY-MM-DDTHH:MM:SS.SSS-UTC offset".

dateFormatMask

String with preferred output date format

splitChar

String with the character the function should split the date and time, defaults to "[T]"

Value

list with date in first position, time in second position.


USGS-R/repgen documentation built on April 14, 2021, 2:47 p.m.