to_local


Description:

public DateTime to_local ()

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

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

Parameters:

this

a DateTime

Returns:

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