 
      
      get_month()Get month value (1 to 12) from the given timestamp
get_month(timestamp = now(), utc = false)
timestamp (number, optional)  — Unix timestamp in seconds. The default value is now()utc (boolean, optional)  — Timestamp in UTC. The default value is false
number — Returns month value
import time
 
get_month()
get_month(create_datetime(2021, 12, 22))