[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
QUARTER()
Determines the quarter in which a specific date lies
------------------------------------------------------------------------------
Syntax
QUARTER([<dDate>]) --> nQuarter
Argument
<dDate> Designates in which quarter the specified date lies. The
default is the system date.
Returns
QUARTER() returns a number that identifies the quarter in which <dDate>
lies.
Description
QUARTER() determines which quarter of the year <dDate> lies.
Note
. When no date is specified, the function automatically uses the
system date. An empty date returns 0 as a result.
Example
Compute a delivery date:
? "We will deliver in quarter ", QUARTER(CTOD("07/12/1991")), "1991"
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson