time utils improvements