refactored time util methods
added time utils
Merge pull request #524 from mbarry02/refactor_time

Refactor time :+1: