Learn R Programming

LMoFit (version 0.1.6)

get_julian: Get julian date from the begining of the year

Description

Get julian date from the begining of the year

Usage

get_julian(x)

Arguments

x

date or a series of dates such as, as.Date("yyyy-mm-dd")

Value

A julian date between 1 and 365, note that in leap years the day 366 is considered as 365

Examples

Run this code
# NOT RUN {
get_julian(x = as.Date("1979-01-15"))

# }

Run the code above in your browser using DataLab