GLib.DateTime.hash

function hash(datetime: void): Number(guint) {
    // Gjs wrapper for g_date_time_hash()
}
  

Hashes datetime into a #guint, suitable for use within GLib.HashTable.

Since 2.26

datetime

a GLib.DateTime

Returns

a #guint containing the hash