@squawk
    Preparing search index...
    • Converts a JavaScript Date to a decimal year (e.g. 2025-07-02 becomes approximately 2025.5).

      Parameters

      • date: Date

        The date to convert.

      Returns number

      Decimal year representation.