DateTime.month()

Returns the month number of the specified time.
DateTime.month(time:int)

Parameters

Name Type Действие Значение по умолчанию
time int Time in Unix timestamp

Return value

Month number (1-January,2,3,4,5,6,7,8,9,10,11,12) of the specified time.

Description

Used in the method onUpdate

Example

let m = DateTime.month(Current.Time);