obspy.io.xseed.utils.datetime_2_string

datetime_2_string(dt, compact=False)[source]

Generates a valid SEED time string from a UTCDateTime object.