as_tod: Convert date to time-of-day in hours, minutes or seconds

Description Usage Arguments

View source: R/sun.calc.r

Description

Convert date to time-of-day in hours, minutes or seconds

Usage

1
as_tod(x, unit.out = "hours", tz = NULL)

Arguments

x

a datetime object accepted by lubridate functions

unit.out

character string, One of "datetime", "hour", "minute", or "second".

tz

character string indicating time zone to be used in output.


photobiology documentation built on Sept. 24, 2018, 1:03 a.m.