Re: Re[2]: Daylight Savings and Logs
Posted in 1996
Paul Eggert — — source: Informix-list mailing list archive (1991-1998)
larrye@smtpgate.ssmc.noaa.gov writes: > I set and export my TZ variable to be UTC, i.e. TZ=UTC0UTC That's not quite right; use `TZ=UTC0' instead. `TZ=UTC0UTC' means ``use daylight savings time in summer, but call it `UTC'!'' > This leads to a question...how do people handle the entry of > time-series data on a very large WAN? Use UTC in the server (set TZ=UTC0 before starting the server). Use the server to generate timestamps when possible. Convert between UTC and localtime on the clients, e.g. with the C routines localtime, mktime, gmtime.