changed how date is sent out as an event, now uses the getDate() method to account for UTC timezone differences
 Please enter the commit message for your changes. Lines starting