1
2
3
4
5
6
7
/*
 * FunciĆ³n formateadora de fechas.
 */
function dateFormatter(dateAsLong) {
	var date = new Date(dateAsLong);
	return date.getDate() + "/" + (date.getMonth() + 1) + "/" + date.getFullYear() + " " + date.getHours() + ":" + date.getMinutes();
}