null on error or if datetime does not have a year, month, day, hour, minute and second.
DateTime.toGDateTime
glib.date_time.DateTime toGDateTime()Creates a new #GDateTime from a fully defined #GstDateTime object.
Returns
a newly created #GDateTime, or