jd2time: Converts Julian date and time (in any timezone) to julian date
Description
Converts Julian date and time (in any timezone) to julian date
Usage
jd2time(jd, timezone, calendar, verbose = F)
Arguments
jd
Julian date in numeric format
timezone
(Optional) Desired timezone for output either as a known acronym (e.g. "GMT", "CET") or
a string with continent followed by country capital (e.g. "Europe/London"). See
timezones for details. Default is system timezone.
calendar
(Optional) Calendar used in parameter time. G for gregorian and J for julian.
Only needed if time is a string. Defaults to Gregorian.
verbose
(Optional) Controls whether messages should be displayed. Default is FALSE.
# NOT RUN {jd <- time2jd('2018/12/25 12:00:00', 'GMT') # Julian date at noon GMT on Christmas day 2018jd2time(jd, 'CET') # converts julian date to Central European timezone# }