melt.time: Melt time into parts

View source: R/utils.R

melt.timeR Documentation

Melt time into parts

Description

Melt time into parts

Usage

## S3 method for class 'time'
melt(epoch, tz = "Asia/Shanghai")

Arguments

epoch

the UNIX epoch timestamp in seconds

tz

the time zone string

Value

several fields (indexed by order) of given timestamp: year, month, day, hour, minute, second, day of week (dow), day of year (doy), week of month (wom), week of year (woy), quarter of year (qoy)


caesar0301/movr documentation built on June 18, 2022, 2:37 a.m.