DateTime.toGDateTime

Creates a new #GDateTime from a fully defined #GstDateTime object.

Returns

a newly created #GDateTime, or

null on error or if datetime does not have a year, month, day, hour, minute and second.