fx_h_time | R Documentation |
This set of functions help in the time conversion, taking into account generic times and not specific times. The conversions are based on the assumption that 1 year is 365.25 days and is 12 months. There is no adjustment for lap days or ours or difference of days between months
dtom(x)
mtod(x)
dtoy(x)
ytod(x)
mtoy(x)
ytom(x)
x |
the time to convert |
the converted time
dtom()
: convert days to months
mtod()
: convert months to days
dtoy()
: convert days to years
ytod()
: convert years to days
mtoy()
: convert months to year
ytom()
: convert years to months
dtom(365.25)
mtod(12)
dtoy(165.25)
ytod(1)
mtoy(12)
ytom(365.25)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.