Skip to main content
`Ctrl`+`K`

# pandas.Timestamp.month

Timestamp.month

  Return the month of the Timestamp.

  Months are numbered from 1 (January) through 12 (December).

  Returns:
    int

      The month of the Timestamp.

  See also

  `Timestamp.day`

    Return the day of the Timestamp.

  `Timestamp.year`

    Return the year of the Timestamp.

  Examples

      >>> ts = pd.Timestamp("2024-08-31 16:16:30")
      >>> ts.month
      8