GLib.DateTime.new_from_unix_local_usec
Description: Reference for GLib.DateTime.new_from_unix_local_usec

### Function

# GLib DateTimenew_from_unix_local_usec

since: 2.80

#### Declaration [src]

    GDateTime*
    g_date_time_new_from_unix_local_usec (
      gint64 usecs
    )

#### Description [src]

Creates a `GDateTime` corresponding to the given Unix time `t` in the local time zone.

Unix time is the number of microseconds that have elapsed since 1970-01-01 00:00:00 UTC, regardless of the local time offset.

This call can fail (returning `NULL`) if `t` represents a time outside of the supported range of `GDateTime`.

You should release the return value by calling `g_date_time_unref()` when you are done with it.

Available since: 2.80

#### Parameters

`usecs`

  Type: `gint64`

  The Unix time in microseconds.

#### Return value

Type: `GDateTime`

A new `GDateTime`, or `NULL`.

The caller of the function takes ownership of the data, and is responsible for freeing it.
The return value can be `NULL`.