IR Framework

Date.getBienniumShort Method

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

Arguments

object
Required. Always the name of a Date object.



Return Value

The Date.getBienniumShort method returns a string representing the biennium containing the Date in a yy-yy format.

Remarks

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

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

Alert(d.getBienniumShort());
//	displays "83-85" in an Alert box


Requirements