Short: Timezone Database & Library Author: Carsten Larsen, Arthur David Olson & others Uploader: Carsten Larsen (carsten.larsen@mail.com) Type: util/time Version: 7.18 Requires: util/time/tzdata Architecture: m68k-amigaos URL: http://www.iana.org/time-zones About "What time is it?" -- Richard Deacon as The King "Any time you want it to be." -- Frank Baxter as The Scientist (from the Bell System film "About Time") The Time Zone Database (often called tz or zoneinfo) contains code and data that represent the history of local time for many representative locations around the globe. It is updated periodically to reflect changes made by political bodies to time zone boundaries, UTC offsets, and daylight-saving rules. Installation * Copy tz.library to Libs: * Assign ZONEINFO: to your zoneinfo directory * Copy zoneinfo from tzdata.lha to ZONEINFO: * Set TZ environment variable * Validate installation with regression test tool Library content time.h tzset, tzalloc, tzfree, time, mktime, mktime_z, localtime, localtime_r, localtime_rz, gmtime, gmtime_r, ctime, ctime_r, ctime_rz, difftime, offtime, offtime_r, timeoff, asctime, asctime_r, strftime, strftime_l, strptime, strptime_l, timegm, timelocal, timelocal_z, daylight_c, timezone_c, altzone_c, tzname_c, time2posix, time2posix_z, posix2time, posix2time_z, tzsetwall, tzgetname sys/time.h gettimeofday, settimeofday tz.h CurrentTimeGmt, AmigaLocalTime, AmigaLocalTimeZ, FormatDateTm, ParseDateTm Amiga2Tm, Tm2Amiga, Unix2Amiga, Amiga2Unix, Tm2DateStamp, DateStamp2Tm, Unix2DateStamp, DateStamp2Unix, Tm2Date, Date2Tm, Date2Unix, Unix2Date, getsystime, setsystime, tzgetlocation, gmtoffset, stou, utos Applications Example programs date1, date2, gmtime, localtime, nyc, strftime, strftime2, strptime, time, adjust Changes in 7.18 - RTC is no longer required by the library. - UTC offset in settimeofday() is subtracted instead of added. - Micro seconds in CurrentTimeGmt() returned to correct register. - Updated include headers.