Smart modulo 12 for time aritmetics

Description

Calculates which month corresponds to the number x, smart modulo 12-wise.

Usage

1
m12(x)

Arguments

x

integer

Value

Returns an integer 1 through 12 for the corresponding month of a positeve integer x, starting with x=1 being january. Note that x=13 is also january...

Author(s)

A.M. Sajo-Castelli

See Also

vetools, diffmonths, tssum, diasdelmes, time2ym, ym2time, xts2ts.


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.