julianDay: Julian Day

Description Usage Arguments Details Value Author(s) Examples

Description

Computes Julian Day from year, month, day and time of day.

Usage

1
julianDay(year, month, day, hour = 12, min = 0, sec = 0, tz = 0, dut1 = 0)

Arguments

year

Year

month

Month (1-12)

day

Day (1-12)

hour

Hour (0-23)

min

Minute (0-59)

sec

Second (0-59)

tz

Time zone (negative to the west)

dut1

Correction term (0-1)

Details

Astronomical year numbering is used, i.e., 0 is used for 1 BC, -1 for 2 BC, and so on.

Time is expressed as Coordinated Universal Time (UTC), or Local Standard Time (LST) if the tz argument is used. The argument dut1 is expressed as a fraction of a second and used to correct UTC to Universal Time (UT)

Value

Julian Day

Author(s)

Jasper Van doninck

Examples

1
2
3
4
5
julianDay(2000,1,1,12,0,0)

julianDay(2010,5,10,16,30,0,tz=-7)

julianDay(2015,1:12,1,0,0,0)

Example output

[1] 2451545
[1] 2455327
 [1] 2457024 2457054 2457082 2457114 2457144 2457174 2457204 2457236 2457266
[10] 2457296 2457328 2457358

solarPos documentation built on May 2, 2019, 9:59 a.m.