month PowerHome formula function
Description
Given a valid date value (either the output of a function eg, today() or a date 'literal' value such as 2010-12-15) this function extracts the month.

See the  Date / Time Functions  section for detailed information concerning date / time formats.

Syntax
month ( date )
Argument Description
date The date value from which you want the month

Return value
Integer. Returns an integer (1 to 12) whose value is the month portion of date.

Examples
The following examples demonstrate typical syntax/usage for this function.
• month(today()) --> evaluates to: 1
• month(2014-12-15) --> evaluates to: 12
• month(date("02/14/2015")) --> evaluates to: 2
• month("2014-12-15") --> Fails