autosweep.data_types.TimeStamp#

class autosweep.data_types.TimeStamp(timestamp: Optional[Union[str, datetime]] = None)[source]#

A TimeStamp is a simple object based on python’s datetime which is used to represent dates and times in a convenient way for AutoSweep.

Parameters:

timestamp (str or datetime.datetime, optional) – The datetime to store, if nothing is specified, then the stored datetime is now.

__init__(timestamp: Optional[Union[str, datetime]] = None)[source]#

Methods

__init__([timestamp])