Format a month and day as a calendar label

Description

Format a month and day for reporting recurring solar or stellar events within a year.

Usage

long.date(date)

Arguments

date

date in 'MM-DD' format

Details

A season or event table may need a day/month label without an epoch. The first two characters are the month number and characters four and five the day number; the separator occupies position three. The month is looked up in R's English month abbreviations. This formatting step does not validate a calendar date or convert between calendars.

Value

Character month-and-day labels such as "21 Jun", derived from the supplied month and day.

Validation

Build 2.0.9005 passed all 499 calendar, clock, era, angle and setting checks in A01. The largest discrepancy across 240 absolute Julian dates was 0.000021 seconds. See A01 validation in the technical manual.

Scientific checks

See Also

time2jd, jd2time, timestring, BC.AD

Examples

long.date('01-01')
long.date('08-23')