Time
ISO 8601 timestamp scalar for representing date and time values
A scalar representing a time value, typically in ISO 8601 format.
Description
The Time scalar type represents a point in time, stored as a timestamp. Values are serialized as strings in ISO 8601 format (e.g., "2023-04-01T10:30:00Z"). This scalar is used for all date and time fields in the API.
Usage Example
query {
files(
where: {
createdAtGT: "2023-01-01T00:00:00Z"
createdAtLT: "2023-12-31T23:59:59Z"
}
) {
edges {
node {
id
name
createdAt
updatedAt
}
}
}
}Last updated
Was this helpful?
