s.

    </p>
<pre class="programlisting">
    <span class="keyword">using namespace</span> boost::local_time; 
    <span class="comment">//setup some timezones for creating and adjusting times
    //first time zone uses the time zone file for regional timezone definitions</span>
    tz_database tz_db;
    tz_db.load_from_file(<span class="string">"date_time_zonespec.csv"</span>);
    time_zone_ptr nyc_tz = tz_db.time_zone_from_region(<span class="string">"America/New_York"</span>);
    <span class="comment"