index.js
function formatDate( date ) {

	var dateString = '';

	date = new Date( date );

	dateString = date.getMonth() + 1;
	dateString += '/';
	dateString += date.getDate();
	dateString += '/';
	dateString += date.getFullYear();

	return dateString;
}
function formatDate( date ) {

	var dateString = '';

	date = new Date( date );

	dateString = date.getMonth() + 1;
	dateString += '/';
	dateString += date.getDate();
	dateString += '/';
	dateString += date.getFullYear();

	return dateString;
}
function formatDate ( date ) { var dateString = '' ; date = new Date ( date ) ; dateString = date . getMonth ( ) + 1 ; dateString += '/' ; dateString += date . getDate ( ) ; dateString += '/' ; dateString += date . getFullYear ( ) ; return dateString ; }
Format a date

@param {(Object|string)} date The date object to format
@returns {string}
Format a date