Added a simple date formatting function to dateHelper.