Learn R Programming

date (version 1.2-42)

date.mmddyy: Format a Julian date

Description

Given a vector of Julian dates, this returns them in the form ``10/11/89'', ``28/7/54'', etc.

Usage

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

Value

A vector of character strings containing the formatted dates.

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.

See Also

date.mdy, mdy.date, date.ddmmmyy

Examples

Run this code
date.mmddyy(as.date(10))

Run the code above in your browser using DataLab