pyspark.pandas.Series.dt.month

property dt.month

The month of the timestamp as January = 1 December = 12.