date (version 1.2-10)

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

date.mdy, mdy.date, date.ddmmmyy

Examples

Run this code
date.mmddyyyy(as.date(1:10))

Run the code above in your browser using DataLab