dtt_dayte_time {dttr2}R Documentation

Dayte Time

Description

Dayte Time

Usage

dtt_dayte_time(x, ...)

## S3 method for class 'Date'
dtt_dayte_time(x, start = 1L, tz = dtt_default_tz(), ...)

## S3 method for class 'POSIXct'
dtt_dayte_time(x, start = 1L, ...)

Arguments

x

A date time vector.

...

Unused.

start

An integer scalar of the starting month or a Date scalar of the starting date.

tz

A string of the time zone.

Value

A Date vector with the year set to year.

A POSIXct vector of the dayte times.

Methods (by class)

Examples

dtt_dayte_time(as.POSIXct(c("2001-01-01 12:13:14", "2015-12-13"), tz = "Etc/GMT+10"))

[Package dttr2 version 0.3.0 Index]