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

as_tod {photobiology} | R Documentation

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

### Description

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

### Usage

    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.

[Package photobiology version 0.9.21 Index]