Date.WeekOfMonth

About

Returns a number for the count of week in the current month.

Syntax

Date.WeekOfMonth(dateTime as datetime) as nullable number  

Arguments

Argument Description
dateTime The DateTime to check against.

Example

Date.WeekOfMonth(DateTime.FromText("2011-08-30")) equals 5