obspy.core.utcdatetime.UTCDateTime.ctime

UTCDateTime.ctime()[source]

Return a string representing the date and time.

Example

>>> UTCDateTime(2002, 12, 4, 20, 30, 40).ctime()
'Wed Dec  4 20:30:40 2002'