R: Convert a solar_time object into solar_date object

as.solar_date {photobiology} | R Documentation

## Convert a solar_time object into solar_date object

### Description

Convert a solar_time object into solar_date object

### Usage

    as.solar_date(x, time)

### Arguments

`x` | solar_time object.
`time` | an R date time object

### Value

For method `as.solar_date()` a date-time object with the class attr set to "solar.time". This is needed only for unambiguous formatting and printing.

[Package photobiology version 0.9.21 Index]