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

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

Add qday - day of the current quarter? #278

danielkrizian opened this issue Nov 17, 2014 · 1 comment

Comments

@danielkrizian
Copy link

@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
Copy link
Contributor

@jonboiser 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.

Loading

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

Successfully merging a pull request may close this issue.

None yet
3 participants