Date.getBiennium MethodReturns the biennium that contains the date.object.getBiennium ( ) Arguments
Return ValueThe Date.getBiennium method returns a string representing the biennium containing the Date in a yyyy-yyyy format.RemarksThe 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 |