jquery-src/jquery.calendars.js
function pad(value, length) {
		value = '' + value;
		return '000000'.substring(0, length - value.length) + value;
	}
function pad(value, length) {
		value = '' + value;
		return '000000'.substring(0, length - value.length) + value;
	}
function pad ( value , length ) { value = '' + value ; return '000000' . substring ( 0 , length - value . length ) + value ; }
Pad a numeric value with leading zeroes.
@private
@param value {number} The number to format.
@param length {number} The minimum length.
@return {string} The formatted number.
Pad a numeric value with leading zeroes .