--- title: DateTime - Storefront API description: | Represents an [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)-encoded date and time string. For example, 3:50 pm on September 7, 2019 in the time zone of UTC (Coordinated Universal Time) is represented as `"2019-09-07T15:50:00Z`". api_version: 2025-10 api_name: storefront type: scalar api_type: graphql source_url: html: https://shopify.dev/docs/api/storefront/latest/scalars/DateTime md: https://shopify.dev/docs/api/storefront/latest/scalars/DateTime.md --- # Date​Time scalar Represents an [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)-encoded date and time string. For example, 3:50 pm on September 7, 2019 in the time zone of UTC (Coordinated Universal Time) is represented as `"2019-09-07T15:50:00Z`". ## Map ### Fields with this scalar * <-|[Article.publishedAt](https://shopify.dev/docs/api/storefront/latest/objects/Article#field-publishedAt) * <-|[Cart.createdAt](https://shopify.dev/docs/api/storefront/latest/objects/Cart#field-createdAt) * <-|[Cart.updatedAt](https://shopify.dev/docs/api/storefront/latest/objects/Cart#field-updatedAt) * <-|[Collection.updatedAt](https://shopify.dev/docs/api/storefront/latest/objects/Collection#field-updatedAt) * <-|[Company.createdAt](https://shopify.dev/docs/api/storefront/latest/objects/Company#field-createdAt) * <-|[Company.updatedAt](https://shopify.dev/docs/api/storefront/latest/objects/Company#field-updatedAt) * <-|[Company​Contact.createdAt](https://shopify.dev/docs/api/storefront/latest/objects/CompanyContact#field-createdAt) * <-|[Company​Contact.updatedAt](https://shopify.dev/docs/api/storefront/latest/objects/CompanyContact#field-updatedAt) * <-|[Company​Location.createdAt](https://shopify.dev/docs/api/storefront/latest/objects/CompanyLocation#field-createdAt) * <-|[Company​Location.updatedAt](https://shopify.dev/docs/api/storefront/latest/objects/CompanyLocation#field-updatedAt) * <-|[Customer.createdAt](https://shopify.dev/docs/api/storefront/latest/objects/Customer#field-createdAt) * <-|[Customer.updatedAt](https://shopify.dev/docs/api/storefront/latest/objects/Customer#field-updatedAt) * <-|[Customer​Access​Token.expiresAt](https://shopify.dev/docs/api/storefront/latest/objects/CustomerAccessToken#field-expiresAt) * <-|[Metafield.createdAt](https://shopify.dev/docs/api/storefront/latest/objects/Metafield#field-createdAt) * <-|[Metafield.updatedAt](https://shopify.dev/docs/api/storefront/latest/objects/Metafield#field-updatedAt) * <-|[Metaobject.updatedAt](https://shopify.dev/docs/api/storefront/latest/objects/Metaobject#field-updatedAt) * <-|[Order.canceledAt](https://shopify.dev/docs/api/storefront/latest/objects/Order#field-canceledAt) * <-|[Order.processedAt](https://shopify.dev/docs/api/storefront/latest/objects/Order#field-processedAt) * <-|[Page.createdAt](https://shopify.dev/docs/api/storefront/latest/objects/Page#field-createdAt) * <-|[Page.updatedAt](https://shopify.dev/docs/api/storefront/latest/objects/Page#field-updatedAt) * <-|[Product.createdAt](https://shopify.dev/docs/api/storefront/latest/objects/Product#field-createdAt) * <-|[Product.publishedAt](https://shopify.dev/docs/api/storefront/latest/objects/Product#field-publishedAt) * <-|[Product.updatedAt](https://shopify.dev/docs/api/storefront/latest/objects/Product#field-updatedAt) * <-|[Sitemap​Image.updatedAt](https://shopify.dev/docs/api/storefront/latest/objects/SitemapImage#field-updatedAt) * <-|[Sitemap​Resource.updatedAt](https://shopify.dev/docs/api/storefront/latest/objects/SitemapResource#field-updatedAt) * <-|[Sitemap​Resource​Metaobject.updatedAt](https://shopify.dev/docs/api/storefront/latest/objects/SitemapResourceMetaobject#field-updatedAt)