TimeZone.getIdentifier

Get the identifier of this #GTimeZone, as passed to g_time_zone_new(). If the identifier passed at construction time was not recognised, UTC will be returned. If it was %NULL, the identifier of the local timezone at construction time will be returned.

The identifier will be returned in the same format as provided at construction time: if provided as a time offset, that will be returned by this function.

class TimeZone
string
getIdentifier
()

Return Value

Type: string

identifier for this timezone

Meta

Since

2.58