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

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

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants