julianDay {solarPos}R Documentation

Julian Day

Description

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

Usage

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

julianDay(2000,1,1,12,0,0)

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

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

[Package solarPos version 1.0 Index]