function customDateString(oneDate) {
   var theDay = oneDate.getDay()
   if ( theDay == 0 ) { theDay = "Sunday" }
   if ( theDay == 1 ) { theDay = "Monday" }
   if ( theDay == 2 ) { theDay = "Tuesday" }
   if ( theDay == 3 ) { theDay = "Wednesday" }
   if ( theDay == 4 ) { theDay = "Thursday" }
   if ( theDay == 5 ) { theDay = "Friday" }
   if ( theDay == 6 ) { theDay = "Saturday" }

   var theMonth = oneDate.getMonth()
   if ( theMonth == 0 ) { theMonth = "January" }
   if ( theMonth == 1 ) { theMonth = "February" }
   if ( theMonth == 2 ) { theMonth = "March" }
   if ( theMonth == 3 ) { theMonth = "April" }
   if ( theMonth == 4 ) { theMonth = "May" }
   if ( theMonth == 5 ) { theMonth = "June" }
   if ( theMonth == 6 ) { theMonth = "July" }
   if ( theMonth == 7 ) { theMonth = "August" }
   if ( theMonth == 8 ) { theMonth = "September" }
   if ( theMonth == 9 ) { theMonth = "October" }
   if ( theMonth == 10 ) { theMonth = "November" }
   if ( theMonth == 11 ) { theMonth = "December" }

   var theYear = oneDate.getYear()
   if ( theYear < 1970 ) { theYear = theYear + 1900 }
   return theDay + ", " + theMonth + " " + oneDate.getDate() + ", " + theYear
}

function propiaFechaCadena(oneDate) {
   var elMes = oneDate.getMonth()
   if ( elMes ==  0 ) { elMes = "Ene" }
   if ( elMes ==  1 ) { elMes = "Feb" }
   if ( elMes ==  2 ) { elMes = "Mar" }
   if ( elMes ==  3 ) { elMes = "Abr" }
   if ( elMes ==  4 ) { elMes = "May" }
   if ( elMes ==  5 ) { elMes = "Jun" }
   if ( elMes ==  6 ) { elMes = "Jul" }
   if ( elMes ==  7 ) { elMes = "Ago" }
   if ( elMes ==  8 ) { elMes = "Sep" }
   if ( elMes ==  9 ) { elMes = "Oct" }
   if ( elMes == 10 ) { elMes = "Nov" }
   if ( elMes == 11 ) { elMes = "Dic" }
   
   var elAno = oneDate.getYear()
   if ( elAno < 1970 ) { elAno = elAno + 1900 }

   return oneDate.getDate() + "-" + elMes + "-" + elAno
}
