TimeISOT

class astropy.time.core.TimeISOT(val1, val2, scale, precision, in_subfmt, out_subfmt, from_jd=False) [edit on github][source]

Bases: astropy.time.core.TimeString

ISO 8601 compliant date-time format “YYYY-MM-DDTHH:MM:SS.sss...”. This is the same as TimeISO except for a “T” instead of space between the date and time.

The allowed subformats are:

  • ‘date_hms’: date + hours, mins, secs (and optional fractional secs)
  • ‘date_hm’: date + hours, mins
  • ‘date’: date

Attributes Summary

subfmts tuple() -> empty tuple
name str(object) -> string

Attributes Documentation

subfmts = (('date_hms', '%Y-%m-%dT%H:%M:%S', '{year:d}-{mon:02d}-{day:02d}T{hour:02d}:{min:02d}:{sec:02d}'), ('date_hm', '%Y-%m-%dT%H:%M', '{year:d}-{mon:02d}-{day:02d}T{hour:02d}:{min:02d}'), ('date', '%Y-%m-%d', '{year:d}-{mon:02d}-{day:02d}'))
name = 'isot'

Page Contents