Description Usage Arguments Details Value Author(s) See Also Examples
Convert from year and day number of year to month and day of month
1 | ydn2md(yr, dy)
|
yr |
4-digit year (like 1988), integer, scalar |
dy |
day number in year (like 310), integer, scalar or vector |
Conversion in the opposite direction is given by function ymd2dn.
On error, the function returns
1 | m = d = -1
|
.
m |
month number, integer (1-12) |
d |
day of month, integer (1-31) |
Adapted from Johns Hopkins University/Applied Physics Laboratory
R adaptation by Arnab Chakraborty (June 2013)
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.