added calls to dateUtil methods and edited calls to global date methods