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