to_utc


Description:

public DateTime to_utc ()

Creates a new DateTime corresponding to the same instant in time as this, but in UTC.

This call is equivalent to calling to_timezone with the time zone returned by TimeZone.utc.

Parameters:

this

a DateTime

Returns:

the newly created DateTime which should be freed with g_date_time_unref , or null