                        local_date_time::NOT_DATE_TIME_ON_ERROR);

    time_duration flight_length = hours(<span class="number">4</span>) + minutes(<span class="number">30</span>);
    local_date_time phx_arrival = phx_departure + flight_length;
    <span class="comment">//convert the phx time to a nyz time</span>
    local_date_time nyc_arrival = phx_arrival.local_time_in(nyc_tz);

    <span class="comment">//2005-Apr-03 06:30:00 EDT</span>
    std::cout &lt;&lt; nyc_arrival &lt;&lt; std::endl;
    </pre>
