Learn R Programming

photobiology (version 0.11.3)

as.solar_date: 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)

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.

Arguments

x

solar_time object.

time

an R date time object

See Also

Other Local solar time functions: is.solar_time(), print.solar_time(), solar_time()