def ods_timedelta_value(cell):
    """convert a cell value to time delta"""
    hours = cell.days * 24 + cell.seconds // 3600
    minutes = cell.seconds // 60 % 60
    seconds = cell.seconds % 60
    return 'PT%02dH%02dM%02dS' % (hours, minutes, seconds)
