Portuguese, Brazilian
Idiomas
English
Japanese
German
Korean
Portuguese, Brazilian
French
Shortcuts

qiskit.providers.ibmq.utils.seconds_to_duration

seconds_to_duration(seconds)[código fonte]

Converts seconds in a datetime delta to a duration.

Parâmetros

seconds (float) – Number of seconds in time delta.

Tipo de retorno

Tuple[int, int, int, int, int]

Retorna

A tuple containing the duration in terms of days, hours, minutes, seconds, and milliseconds.