LocalTime
The LocalTime function of the mplreport class converts a naive DateTime object from UTC time to local time.
The UTCTime function performs the opposite.
Parameters
| Parameter | Type | Default | Meaning |
|---|---|---|---|
| tm | DateTime | The UTC time to be converted | |
Return
A naive DateTime object, converted to the local timezone.