Spanish
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.providers.ibmq.utils.utc_to_local

utc_to_local(utc_dt)[fuente]

Convert a UTC datetime object or string to a local timezone datetime.

Parámetros

utc_dt (Union[datetime, str]) – Input UTC datetime or string.

Tipo del valor devuelto

datetime

Devuelve

A datetime with the local timezone.

Muestra

TypeError – If the input parameter value is not valid.