pols-utils - v5.3.11
    Preparing search index...

    Function getWeek

    • Returns the week number for a given date using the US system. In this format, the week count starts on Sunday and the first week of the year always begins on January 1st.

      Parameters

      • date: Date

        The target date.

      Returns number

      The week number of the year (starting from 1), based on the US convention.