Compares a given date with today and inserts a text expression in a narrative JavaScript
Demo of compdate function TimeString(adate){ var tstring = “”; var aret = adate.getHours(); if (aret tstring = “0”; tstring = tstring + aret; aret = adate.getMinutes(); if (aret tstring = tstring +