obspy.core.utcdatetime.UTCDateTime._from_datetime

UTCDateTime._from_datetime(dt)[source]

Use Python datetime object to set current time.

Parameters:dt (datetime.datetime) Python datetime object.