Datetime Field

class DatetimeField(size: int = 16, starting_position: int = 0, format: str | List[str] = '%Y/%m/%d', value: datetime | None = None)[source]

Class for representing an datetime field for being read from and written to a file. The format to read and write the value is given by an optional argument.