Learn R Programming

FAO56 (version 1.0)

JulDate: Julian Date

Description

JulDate returns Julian Date.

Usage

JulDate(date)

Value

The function returns Julian Date as a numeric scalar.

Arguments

date

Optional. A character string that denotes the date in the format "Year-Month-Day" or "Year/Month/Day".

Details

This is a function to calculate Julian Date.

See Also

DH, EarSunDis, SolDec.

Examples

Run this code
JulDate(date = "2020-06-25")
JulDate(date = "2020/06/25")

Run the code above in your browser using DataLab