Added fraction part to time conversion routine