Graphql Date Time, js, custom scalars are created using the GraphQLScalarType class.