add chronos_utils.erl (Warning ugly code lives here)