Boost logo

Boost Users :

Subject: Re: [Boost-users] [datetime] local_date_time and time zone issues
From: Boris (boriss_at_[hidden])
Date: 2009-01-07 14:15:07


On Wed, 07 Jan 2009 19:16:46 +0100, Steven Watanabe <watanabesj_at_[hidden]>
wrote:

> AMDG
>
> Boris wrote:
>> The program uses CET which is the abbreviation for Central European
>> Time which is UTC+1. If the UTC time is now 12:00:00 the local time in
>> CET+1 must be 14:00:00 (and not 13:00:00). Accordingly the local time
>> in CET+2 must be 15:00:00. Why Boost.DateTime appends "CET" to the
>> local time in CET+2 I don't understand either.
>
>> From
> http://www.boost.org/doc/html/date_time/local_time.html#date_time.local_time.posix_time_zone
> 'offset' is the offset from UTC.

Thanks, I missed this. CET doesn't have any measning then (at least not in
my example)?

Boris


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net