Global Function
Declaration
func month() -> Int
Parameters
Returns
Int
Description
Current month returned by system clock. The month value returned is an Int value in the range 1 to 12.
Examples
var m = month()
Related
year()
month()
day()
hour()
minute()
second()
millis()
nanosecond()