TIMEZONE - some concepts

sexta-feira, 30 de dezembro de 2011

In some application environments, it is important that application server components use the same time zone, follow some concepts..

/etc/TIMEZONE --> set GMT
example, changing the tz to no-daylight
TZ=MST7MDT change it to TZ=MST7

/usr/lib/fztab--> this file determines when the daylight is turn on/off (day of year)
The first six are integer patterns that
specify the minute (0-59), hour (0-23), day of the month (1-31), month
of the year (1-12), year (1970-2038), and day of the week (0-6, with
0=Sunday

if TZ=null, then TZ was set to EST5DST by default. Make a look on your file.
# cat /etc/default/tz

You can change it through set_parms:
# /sbin/set_parms timezone