to_local
Description:
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 |