Stan Brown wrote:

Anyone know where (or if) there's an ISO standard list on line?

Names of timezones have never been standardised, but a good

pseudo-standard might be the table in getdate.c, part of the GNU

"sh-utils" package.

The table is reproduced below, and may be distributed under the GPL.

http://www.gnu.org/copyleft/gpl.html
/* The time zone table. This table is necessarily incomplete, as time

zone abbreviations are ambiguous; e.g. Australians interpret "EST"

as Eastern time in Australia, not as US Eastern Standard Time.

You cannot rely on getdate to handle arbitrary time zone

abbreviations; use numeric abbreviations like `-0500' instead. */

static table const time_zone_table[] =

{

{ "GMT",tZONE, HOUR ( 0) },/* Greenwich Mean */

{ "UT",tZONE, HOUR ( 0) },/* Universal (Coordinated) */

{ "UTC",tZONE, HOUR ( 0) },

{ "WET",tZONE, HOUR ( 0) },/* Western European */

{ "WEST",tDAYZONE, HOUR ( 0) },/* Western European Summer */

{ "BST",tDAYZONE, HOUR ( 0) },/* British Summer */

{ "ART",tZONE, -HOUR ( 3) },/* Argentina */

{ "BRT",tZONE, -HOUR ( 3) },/* Brazil */

{ "BRST",tDAYZONE, -HOUR ( 3) },/* Brazil Summer */

{ "NST",tZONE, -(HOUR ( 3) + 30) },/* Newfoundland Standard */

{ "NDT",tDAYZONE,-(HOUR ( 3) + 30) },/* Newfoundland Daylight */

{ "AST",tZONE, -HOUR ( 4) },/* Atlantic Standard */

{ "ADT",tDAYZONE, -HOUR ( 4) },/* Atlantic Daylight */

{ "CLT",tZONE, -HOUR ( 4) },/* Chile */

{ "CLST",tDAYZONE, -HOUR ( 4) },/* Chile Summer */

{ "EST",tZONE, -HOUR ( 5) },/* Eastern Standard */

{ "EDT",tDAYZONE, -HOUR ( 5) },/* Eastern Daylight */

{ "CST",tZONE, -HOUR ( 6) },/* Central Standard */

{ "CDT",tDAYZONE, -HOUR ( 6) },/* Central Daylight */

{ "MST",tZONE, -HOUR ( 7) },/* Mountain Standard */

{ "MDT",tDAYZONE, -HOUR ( 7) },/* Mountain Daylight */

{ "PST",tZONE, -HOUR ( 8) },/* Pacific Standard */

{ "PDT",tDAYZONE, -HOUR ( 8) },/* Pacific Daylight */

{ "AKST",tZONE, -HOUR ( 9) },/* Alaska Standard */

{ "AKDT",tDAYZONE, -HOUR ( 9) },/* Alaska Daylight */

{ "HST",tZONE, -HOUR (10) },/* Hawaii Standard */

{ "HAST",tZONE, -HOUR (10) },/* Hawaii-Aleutian Standard */

{ "HADT",tDAYZONE, -HOUR (10) },/* Hawaii-Aleutian Daylight */

{ "SST",tZONE, -HOUR (12) },/* Samoa Standard */

{ "WAT",tZONE, HOUR ( 1) },/* West Africa */

{ "CET",tZONE, HOUR ( 1) },/* Central European */

{ "CEST",tDAYZONE, HOUR ( 1) },/* Central European Summer */

{ "MET",tZONE, HOUR ( 1) },/* Middle European */

{ "MEZ",tZONE, HOUR ( 1) },/* Middle European */

{ "MEST",tDAYZONE, HOUR ( 1) },/* Middle European Summer */

{ "MESZ",tDAYZONE, HOUR ( 1) },/* Middle European Summer */

{ "EET",tZONE, HOUR ( 2) },/* Eastern European */

{ "EEST",tDAYZONE, HOUR ( 2) },/* Eastern European Summer */

{ "CAT",tZONE, HOUR ( 2) },/* Central Africa */

{ "SAST",tZONE, HOUR ( 2) },/* South Africa Standard */

{ "EAT",tZONE, HOUR ( 3) },/* East Africa */

{ "MSK",tZONE, HOUR ( 3) },/* Moscow */

{ "MSD",tDAYZONE, HOUR ( 3) },/* Moscow Daylight */

{ "IST",tZONE, (HOUR ( 5) + 30) },/* India Standard */

{ "SGT",tZONE, HOUR ( 8) },/* Singapore */

{ "KST",tZONE, HOUR ( 9) },/* Korea Standard */

{ "JST",tZONE, HOUR ( 9) },/* Japan Standard */

{ "GST",tZONE, HOUR (10) },/* Guam Standard */

{ "NZST",tZONE, HOUR (12) },/* New Zealand Standard */

{ "NZDT",tDAYZONE, HOUR (12) },/* New Zealand Daylight */

{ 0, 0, 0 }

};

--

Toby A Inkster BSc (Hons) ARCS

Contact Me -

http://www.goddamn.co.uk/tobyink/?page=132