STARTOFCURRENTQUARTER

Returns the start date of the current quarter treating the system date as current date. The time returned is 12:00:00 AM.

Syntax

= STARTOFCURRENTQUARTER()

Parameters

None

Return Type

DateTime. The function returns a Microsoft .NET DateTime object.  Any properties or member functions of the DateTime object can also be accessed or used in formulas.

Examples

Example

Returns

= STARTOFCURRENTQUARTER()

As SYSTEM date is 1/28/2010, 1/1/2010 12:00:00 AM

= STARTOFCURRENTQUARTER().Month

The month for the start of current quarter.

= STARTOFCURRENTQUARTER().AddMonths(3)

The start date of next quarter.

= STARTOFCURRENTQUARTER().AddMonths(3).Month

The month for the start of next quarter.

Reference

http://msdn.microsoft.com/en-us/library/system.datetime_members(VS.71).aspx