DateTime Functions

DateTime Functions

before

available since: 1.0.0

before takes a tuple of two dateTime values and reports whether the first describes an instant in time before the second.

Example:

Query:
e.before({
  • dateTime: "1970-01-01T00:00:00.000Z",
}
, {
  • dateTime: "1970-01-01T00:00:00.001Z",
}
)
Result:
true

after

available since: 1.0.0

after takes a tuple of two dateTime values and reports whether the first describes an instant in time after the second.

Example:

Query:
e.after({
  • dateTime: "1970-01-01T00:00:00.000Z",
}
, {
  • dateTime: "1970-01-01T00:00:00.001Z",
}
)