# Chat_DateTime

Source: https://swapcard.dev/organizer/content-api/graphql-event-api-schema/scalars/chat-date-time


const [open, setOpen] = useState(startOpen);
  return (
    <details {...(open ? { open: true } : {})} className="details" style={{ border:'none', boxShadow:'none', background:'var(--ifm-background-color)' }}>
      <summary
        onClick={(e) => {
          e.preventDefault();
          setOpen((open) => !open);
        }}
        style={{ listStyle:'none' }}
      >
      {open ? dataOpen : dataClose}
      </summary>
      {open && children}
    </details>
  );
};

A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the `date-time` format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar.

```graphql
scalar Chat_DateTime
```

### Member Of

[`Chat_Channel`](/organizer/content-api/graphql-event-api-schema/objects/chat-channel)  <Badge class="badge badge--secondary" text="object"/><Bullet />[`Chat_ChannelUser`](/organizer/content-api/graphql-event-api-schema/objects/chat-channel-user)  <Badge class="badge badge--secondary" text="object"/><Bullet />[`Chat_File`](/organizer/content-api/graphql-event-api-schema/objects/chat-file)  <Badge class="badge badge--secondary" text="object"/><Bullet />[`Chat_Message`](/organizer/content-api/graphql-event-api-schema/objects/chat-message)  <Badge class="badge badge--secondary" text="object"/><Bullet />[`Chat_MessageLink`](/organizer/content-api/graphql-event-api-schema/objects/chat-message-link)  <Badge class="badge badge--secondary" text="object"/><Bullet />[`Chat_User`](/organizer/content-api/graphql-event-api-schema/objects/chat-user)  <Badge class="badge badge--secondary" text="object"/><Bullet />[`Chat_VideoCallRoom`](/organizer/content-api/graphql-event-api-schema/objects/chat-video-call-room)  <Badge class="badge badge--secondary" text="object"/>
