as.solar_date | R Documentation |
Convert a solar_time object into solar_date object
as.solar_date(x, time)
x |
solar_time object. |
time |
an R date time object that provides the date part. |
Objects of class "solar_time" lack date information, it describes
the time since local astronomical or true midnight. This function
adds the date information from the argument passed to time time
assembling a modified time
object of class "solar_date".
An object of class "solar.date" object derived from POSIXct. This is needed only for unambiguous formatting and printing.
Other Local solar time functions:
is.solar_time()
,
print.solar_time()
,
solar_time()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.