I wrote:
> strptime() doesn't have enough information to set the tm_isdst member.
>  Indeed, if you set it yourself before calling strptime(), it'll leave
> it unaltered.

To correct myself: the above is not strictly portable, as strptime()
is allowed to change any and all members of struct tm.  You should set
the tm_isdst member to the desired value after calling strptime().


Philip Guenther

Reply via email to