DateTime

class aiosnow.fields.datetime.DateTimeQueryable
after(value: str) → aiosnow.query.condition.Condition

Example: sla_due.after(“2019-12-24 02:03:04”)

All records in which the value for the SLA due field is any date after the given date.

as_of(value: str) → aiosnow.query.condition.Condition

Example: sla_due.as_of(“2019-12-24 02:03:04”)

All records in which the date value for the SLA due field is one of the following:
  • today
  • any date after today
before(value: str) → aiosnow.query.condition.Condition

Example: sla_due.before(“2019-12-24 02:03:04”)

All records in which the value for the SLA due field is any date previous to the given date.

between(value1: str, value2: str) → aiosnow.query.condition.Condition

Example:

All records in which the value for the SLA due field is between the given dates

not_on(value: str) → aiosnow.query.condition.Condition

Example: sla_due.not_on(“2019-12-24 02:03:04”)

All records in which the value for the SLA due field is any other but the given date

on(value: str) → aiosnow.query.condition.Condition

Example: sla_due.on(“2019-12-24 02:03:04”)

All records in which the value for the SLA due field matches the given date

until(value: str) → aiosnow.query.condition.Condition

Example: sla_due.until(“2019-12-24 02:03:04”)

All records in which the value for the SLA due field is one of the following:
  • any date previous to today
  • today
class aiosnow.fields.datetime.DateTime(format: Optional[str] = None, **kwargs)