> You can check if the locale takes DST into account by compare the > offsets of a winter day with a summer day. If they are the same the > locale doesn't care about DST. That is true. More precisely you can compare the timezone offset of January 1st to July 1st. If they are equal DST is not observed. If the January timezone offset is greater than July's the local machine is in the northern hemisphere. If the July timezone offset is greater than January's the local machine is in the southern hemisphere. Which helps a lot when you are ready to determine whether DST is in effect. Regards,
-Keith http://keithreinfeld.home.comcast.net _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders