IR Framework

Date.getBiennium Method

Returns the biennium that contains the date.
object.getBiennium ( )

Arguments

object
Required. Always the name of a Date object.



Return Value

The Date.getBiennium method returns a string representing the biennium containing the Date in a yyyy-yyyy format.

Remarks

The following example illustrates the use of the Date.getBiennium method.

var d = new Date("8/25/1983");

Alert(d.getBiennium());
//	displays "1983-1985" in an Alert box


Requirements