Converting from local time for the system time zone to UTC

Steps

  • 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 );