TimeZone.newLocal

Creates a #GTimeZone corresponding to local time. The local time zone may change between invocations to this function; for example, if the system administrator changes it.

This is equivalent to calling glib.time_zone.TimeZone.new_ with the value of the TZ environment variable (including the possibility of null).

You should release the return value by calling glib.time_zone.TimeZone.unref when you are done with it.

class TimeZone
static
newLocal
()

Return Value

Type: glib.time_zone.TimeZone

the local timezone