German
Sprachen
English
Japanese
German
Korean
Portuguese, Brazilian
French
Shortcuts

qiskit.providers.ibmq.utils.seconds_to_duration

seconds_to_duration(seconds)[Quellcode]

Converts seconds in a datetime delta to a duration.

Parameter

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

Rückgabetyp

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

Rückgabe

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