Tracker.Resource.add_datetime

### Method

# Tracker Resourceadd_datetime

since: 3.2

#### Declaration [src]

    void
    tracker_resource_add_datetime (
      TrackerResource* self,
      const char* property_uri,
      GDateTime* value
    )

#### Description [src]

Adds a date property as a `GDateTime`. Previous values for the same property are kept.

This method is meant for RDF properties allowing multiple values, see nrl:maxCardinality.

This method corresponds to xsd:date and xsd:dateTime.

Available since: 3.2

#### Parameters

`property_uri`

  Type: `const char*`

  A string identifying the property to modify.

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

`value`

  Type: `GDateTime`

  The property object.

  The data is owned by the caller of the function.