Description Usage Arguments Details Value See Also Examples
Extract the year, month or day, or all three (in yyyymmdd
form), or the quarter, from a jul, ti, or from any object that
jul() can handle.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
x |
a |
... |
other args to be passed to the method called by the generic
function. |
offset |
for |
year, quarter, month and day call
ymd, and thus understand the same arguments as it does. The
default implementation ymd.default passes it's arguments to a
call to the function jul, so all of these functions work the
same way that function does.
ymd and it's variants return numeric objects in yyyymmdd form.
year, quarter, month and day return
numeric objects.
ymd() with no arguments returns today's yyyymmdd.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.