...
>         Now, if I choose a constant UTC time
>         carefully, I may find there's one, which when
>         converted into any timezone will not involve
>         any kind of complicated calculalations, (e.g.
>         no leap years, no crossing month boundaries,
>         no crossing year boundaries, etc.)
> ...
>         So the number of seconds difference betwen
>         localtime and UTC can be calculated
>         without knowing what a time_t is by looking
>         at the differences between these to struct tm's
>         for this specially chosen date.  (this
>         automatically handles daylight savings
>         time too.)

The problem, as I see it, is that this assumes that the time
difference in seconds is going to be the same at all times.
It won't be.


Reply via email to