$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [datetime] local_date_time and time zone issues
From: Roland Bock (rbock_at_[hidden])
Date: 2009-01-10 16:22:25
Hi,
Calling local_time on a local_date_time object returns a ptime object
which represents wall time within the given time zone. See also
http://listarchives.boost.org/boost-users/2008/11/41946.php
Regards,
Roland
Boris wrote:
> On Wed, 07 Jan 2009 19:26:01 +0100, Roland Bock <rbock_at_[hidden]> wrote:
>
>> Hi,
>>
>> you also should change your last line to
>>
>> std::cout << dt1.local_time_in(tz2).local_time() << std::endl;
>
> Is this a work-around to drop the CET from the output or is there a good
> reason? :)
>
> Boris
>
>> [...]
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://listarchives.boost.org/mailman/listinfo.cgi/boost-users