Description Usage Arguments Details Value See Also Examples
Consistent day numbering
1 | td(d = 1L, m = 1L, y)
|
d |
numeric []; day of month |
m |
numeric []; month number |
y |
numeric []; year |
A consistent numbering system for days, designed to use the same numbering as MS Office Excel. Each date has a set number, for example 36526 for 1/1/2000.
Works for any date, using consistent negative values for dates before 30/12/1899. Every 4th year is a leap year, but every 100th year is not a leap year, but every 400th year is a leap year. 30/12/1899 is day 0, whereas MS Office starts with 1/1/1900 as day 1, but includes 29/1/1900, which in fact never happened. Therefore the numbering is the same as MS Office Excel after 1/3/1900.
Artificially vectorised with Vectorize
.
numeric []
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.