Converting from local time for the system time zone to UTC

To convert the local time in the system time zone to UTC, use CTzConverter::ConvertToUniversalTime() , without specifying the time zone to convert from:
        TInt errCode = myConverter->ConvertToUniversalTime( myTime );