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 `qday` - day of the current quarter? #278

Closed
danielkrizian opened this Issue Nov 17, 2014 · 1 comment

Comments

Projects
None yet
3 participants
@danielkrizian

danielkrizian commented Nov 17, 2014

Similar to wday, mday or yday, why not add qday function as well?

qday would calculate the day of the current quarter for a specified time/date.

@jonboiser

This comment has been minimized.

Show comment
Hide comment
@jonboiser

jonboiser Feb 5, 2015

Contributor

I commented on the discussion about adding quarter to floor_date. Maybe that can be leveraged for this problem?

E.g. qday(date) is date minus floor_date(date, "quarter"), converted to integer.

Contributor

jonboiser commented Feb 5, 2015

I commented on the discussion about adding quarter to floor_date. Maybe that can be leveraged for this problem?

E.g. qday(date) is date minus floor_date(date, "quarter"), converted to integer.

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