chronia
    Preparing search index...

    Type Alias TimeUnit

    TimeUnit:
        | "year"
        | "month"
        | "day"
        | "hour"
        | "minute"
        | "second"
        | "millisecond"

    Time unit for date/time operations.

    Used in various date manipulation and comparison functions to specify the granularity of the operation.

    • "year": Year level operations
    • "month": Month level operations
    • "day": Day level operations
    • "hour": Hour level operations
    • "minute": Minute level operations
    • "second": Second level operations
    • "millisecond": Millisecond level operations