Date.getFederalFiscalYear Method
Returns the federal fiscal year that contains the date.
object.getFederalFiscalYear ( )
Arguments
- object
- Required. Always the name of a Date object.
Return Value
The Date.getFederalFiscalYear method returns an integer representing the
federal fiscal year containing the Date.
Remarks
The following example illustrates the use of the Date.getFederalFiscalYear method.
var d = new Date("8/25/1983");
Alert(d.getFederalFiscalYear().toString());
// displays "1985" in an Alert box
Requirements
|