Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add options "quarter","bimonthly", and "half-year" to floor_date/ceiling_date [Feature request] #268

mmeierer opened this issue Oct 16, 2014 · 4 comments


Copy link

Add options "quarter","bimonthly", and "halfyear" to floor_date/ceiling_date.

Thus any given date is rounded up/down to the first day of the quarter, bimonthly period (Jan-Feb, Mar-Apr, May-Jun, Jul-Aug, Sep-Oct, Nov-Dec) or half-year.

Copy link

I would be interested in this feature too. Has there been any discussion on how it might be implemented? Are the boundaries of quarters simply 1/1, 4/1, 7/1, 10/1? Same with bimonthly (e.g. 1/1, 3/1, 5/1 ..., 11/1)?

Copy link

ptoche commented Nov 23, 2015

you know about round_date(x, "quarter") right?

Copy link

I submitted the PR #303 that implemented the quarter-round/floor/ceil functionality. I believe this is still open since bimonthly, and halfyear are still unimplemented. This issue hasn't been touched in awhile, but I can look into adding those two missing pieces.

Copy link

vspinu commented Nov 24, 2015

I can look into adding those two missing pieces.

Yes. Please. It would be useful indeed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

No branches or pull requests

4 participants