base_date

base_date(fs)

Returns the base dates (including the time components) of the given fields.

Parameters

fs (Fieldset) – input fieldset

Return type

datetime.datetime or list of datetime.datetime objects

If fs has only one field, a date is returned; otherwise a list of dates is returned.