Sdílet prostřednictvím


QUARTER (Report Builder 1.0)

Returns the calendar quarter (1-4) from a datetime.

Syntax

QUARTER(datetime)

datetime

Specifies the datetime from which the quarter (1-4) is extracted.

Example

Formula

Result

QUARTER(Start Date)

Returns the quarter value for each instance of the Start Date field, for example, 1, 2, 3, 4.

QUARTER(#10/15/2010#)

4