UTCTime

The UTCTime function of the mplreport class converts a naive DateTime object from local time to UTC time.

The LocalTime function performs the opposite.

Parameters
ParameterTypeDefaultMeaning
tmDateTimeThe local time to be converted
Return

A naive DateTime object, converted to the UTC timezone.