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