DateTime.toLocal

Creates a new #GDateTime corresponding to the same instant in time as @datetime, but in the local time zone.

This call is equivalent to calling g_date_time_to_timezone() with the time zone returned by g_time_zone_new_local().

Return: the newly created #GDateTime

class DateTime
toLocal
()

Meta

Since

2.26