timepart_dtc: Extract Time From Date/Time Objects

Description Usage Arguments Value Author(s)

Description

This function takes a date-time object and its format as inputs, and returns the time portion.

Usage

1
timepart_dtc(x, format, outfmt, tz)

Arguments

x

A date-time object, as a character string, formatted according to format.

format

The format of x; default is to assume that a T separates the date from the time, as with CDISC data.

outfmt

The format (as character string) to use for the result.

tz

The desired timezone; default is "UTC".

Value

A character string with the time portion of x.

Author(s)

Ryan Kyle, ryan.kyle@mail.mcgill.ca


rpkyle/cscmisc documentation built on May 13, 2019, 12:06 p.m.