> On Fri, May 20, 2011 at 10:22 AM, wrote: >> I think you are looking for this... >> >> http://en.wikipedia.org/wiki/Tz_database >> >> Might be a bit much for a PIC... but timezones & DST are complex (and >> changing...US/Canada changed the rules a few years ago). >> > > Ah, that is why I kept seeing the tzdata package under Linux Ubuntu to > change again and again. I think this idea may not helpful after all and > quite > some countries have already got rid of DST (summer time) scheme. > http://en.wikipedia.org/wiki/Daylight_saving_time > > -- > Xiaofan Thanks for the comments thus far! I've been trying to figure out some method of letting the user put in the rule for DST (second Sunday in March or similar). I've found some stuff in php which uses strtotime() which Microchip C does not have. For now, I'm using some javascript in the browser that tells whether DST is currently in effect at the browser, then use that to calculate the time at my system. I then give the user the option of toggling DST on and off. It works, but it'd be nicer to have some function I could feed the time stamp and rules to. Thanks! Harold --=20 FCC Rules Updated Daily at http://www.hallikainen.com - Advertising opportunities available! --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .