Skip to main content

DateRange

Type to be used for comparisons on DateTime type fields.

input DateRange {
from: DateTime!
to: DateTime!
}

Fields

DateRange.from ● DateTime! non-null scalar

A datetime string with format Y-m-d H:i:s, e.g. 2018-05-23 13:43:32.

DateRange.to ● DateTime! non-null scalar

A datetime string with format Y-m-d H:i:s, e.g. 2018-05-23 13:43:32.