obspy.core.utcdatetime.UTCDateTime._from_timestamp

UTCDateTime._from_timestamp(value)[source]

Use given timestamp to set current time.

Parameters:value (int, float) Timestamp in seconds.