Skip to content

Split DateTime Time Ranges interval into smaller ones? #19

Description

@rklec

I guess this is a popular use case:

Split an DateTime interval into smaller intervals, e.g. per day, week, month, quarter, year etc.

Aka, so can build statistics etc. with multiple smaller time spans, inside a bigger "range".

I found multiple Stackoverflow questions asking for the same, but given if you want to support many intervals, it easily get's little complex, so maybe this would be a suitable use case for this library?

(Or maybe it is "easily" implemented oneself, so hmm.)


I found #4 and thus also asked/opened in this fork: Occurify/Occurify#73

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions