DateTime.newFromUnixEpochUtc

Creates a new #GstDateTime using the time since Jan 1, 1970 specified by secs. The #GstDateTime is in the UTC timezone.

class DateTime
static
newFromUnixEpochUtc
(
long secs
)

Parameters

secs long

seconds from the Unix epoch

Return Value

Type: gst.date_time.DateTime

the newly created #GstDateTime, or null on error.