Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

date.mmddyyyy

Format a Julian date


Description

Given a vector of Julian dates, this returns them in the form “10/11/1989”, “28/7/1854”, etc.

Usage

date.mmddyyyy(sdate, sep = "/")

Arguments

sdate

A vector of Julian dates, e.g., as returned by mdy.date().

sep

Character string used to separate the month, day, and year portions of the returned string.

Value

A vector of character strings containing the formatted dates.

See Also

Examples

date.mmddyyyy(as.date(1:10))

date

Functions for Handling Dates

v1.2-39
GPL-2
Authors
Terry Therneau [aut], Thomas Lumley [trl] (R port), Kjetil Halvorsen [trl] (R port), Kurt Hornik [trl, ctb, cre] (<https://orcid.org/0000-0003-4198-9911>, R port), R Core Team [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.