EDataServer.XmlDocument.add_attribute_time_ical

### Method

# EDataServer XmlDocumentadd_attribute_time_ical

since: 3.32

#### Declaration [src]

    void
    e_xml_document_add_attribute_time_ical (
      EXmlDocument* xml,
      const gchar* ns_href,
      const gchar* name,
      time_t value
    )

#### Description [src]

Adds a new attribute with a time_t value in iCalendar format to the current element. The format is “YYYYMMDDTHHMMSSZ”. Use `NULL` `ns_href`, to use the default namespace, otherwise either previously added namespace with the same href from `e_xml_document_add_namespaces()` is picked, or a new namespace with generated prefix is added.

Available since: 3.32

#### Parameters

`ns_href`

  Type: `const gchar*`

  Optional namespace href for the new attribute, or `NULL`.

  The argument can be `NULL`.
  The data is owned by the caller of the method.
  The value is a NUL terminated UTF-8 string.

`name`

  Type: `const gchar*`

  Name of the attribute.

  The data is owned by the caller of the method.
  The value is a NUL terminated UTF-8 string.

`value`

  Type: `time_t`

  Time_t value of the attribute.