Gck.Attributes.prototype.find_date

function find_date(attr_type: Number(gulong)): [ok: Boolean, value: GLib.Date] {
    // Gjs wrapper for gck_attributes_find_date()
}
  

Find an attribute with the specified type in the array.

The attribute (if found) must be of the right size to store a date value (ie: CK_DATE). If the attribute is marked invalid then it will be treated as not found.

attr_type

The type of attribute to find.

ok

Whether a value was found or not.

value

The resulting GDate value.