Portuguese
Idiomas
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

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]

Retorno

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