time2jd {skyscapeR} | R Documentation |
Converts date and time (in any timezone) to Julian date
Description
Converts date and time (in any timezone) to Julian date
Usage
time2jd(time, timezone, calendar, verbose = F)
Arguments
time |
String containing the date and time in the format "YYYY/MM/DD HH:MM:SS". BCE dates
should use negative sign. Use |
timezone |
(Optional) Timezone of input either as a known acronym (e.g. "GMT", "CET") or
a string with continent followed by country capital (e.g. "Europe/London"). See
|
calendar |
(Optional) Calendar used in parameter time. G for gregorian and J for julian. Defaults to Gregorian. |
verbose |
(Optional) Controls whether messages should be displayed. Default is FALSE. |
See Also
swe_julday
, as.POSIXlt
, timezones
,
timestring
Examples
# Julian date at noon GMT on Christmas day 2018
time2jd('2018/12/25 12:00:00', 'GMT')
[Package skyscapeR version 1.0.0 Index]