codetrix - v1.5.0
    Preparing search index...

    Function getDay

    • Returns the day of the month from a given date.

      Parameters

      • date: Date

        The date object to extract the day from.

      Returns number

      Day of the month (1-31).

      getDay(new Date(2025, 6, 23)); // 23