time helper for localing float time