Library API
    Preparing search index...

    Function daysToCivil

    • Computes proleptic Gregorian calendar components from Unix epoch days. Pure integer arithmetic based on Howard Hinnant's Euclidean affine algorithms — zero heap allocations.

      Parameters

      • days: number

        Unix epoch days count (days since 1970-01-01)

      Returns { day: number; month: number; year: number }

      Object containing { year, month, day }