added TimeHelper class and modified DbInfo to use it