Portuguese
Idiomas
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.providers.ibmq.utils.utc_to_local

utc_to_local(utc_dt)[código fonte]

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 de retorno

datetime

Retorno

A datetime with the local timezone.

Levanta

TypeError – If the input parameter value is not valid.