month

month

Description

Returns a number representing the month of the provided date (1-12).

Parameters

Return Type

Number

Examples

Example 1

print("Month is " + month(currentDate()));

Example 2

date varDateTime = "2011-08-17T18:30:55"; print("Month is " + month(varDateTime));

Print - Month is 8

See also

Need support? Create a request with our support team.

Copyright © 2005 - 2025 Appfire | All rights reserved.