get_day_of_year: Julian Date

Description Usage Arguments Value Examples

View source: R/AGread_Dates&Times.R

Description

A wrapper to retrieve the Julian date.

Usage

1
get_day_of_year(timestamp, format = "%Y-%m-%d %H:%M:%S")

Arguments

timestamp

A character vector containing timestamp information

format

The date-time format of the timestamp vector

Value

A numeric vector of Julian dates.

Examples

1
2
3
key_dates <- c("2018-01-01", "2018-12-31")

get_day_of_year(key_dates, "%Y-%m-%d")

AGread documentation built on Feb. 26, 2020, 5:12 p.m.