Views:

Description

Returns the first day of the month given a date. Optional parameter (Offset) to add a number of months to input date.

Signature

GetFirstDayOfMonth('datetime', 'addmonths')

Example

GetFirstDayOfMonth('01/01/2012', 3) Returns 04/01/2012

Parameters

Name Type Description Required
datetime xxxx xxxx xxxx
addmonths xxxx xxxx xxxx