refactor date Utils methods