API Version: 2.0
Library Version: 2.84.0
Generated by gi-docgen 2024.1
since: 2.26
GDateTime* g_date_time_to_utc ( GDateTime* datetime )
Creates a new GDateTime corresponding to the same instant in time as datetime, but in UTC.
GDateTime
datetime
This call is equivalent to calling g_date_time_to_timezone() with the time zone returned by g_time_zone_new_utc().
g_date_time_to_timezone()
Available since: 2.26
Type: GDateTime
The newly created GDateTime which should be freed with g_date_time_unref(), or NULL.
NULL