LDPATH="include ld.so.conf.d/*.conf" # TZ="" ; export TZ # The TZ variable overrides the default timezone. The value of the TZ variable can be either a POSIX timezone specification [1] # or the name of a zoneinfo binary format timezone file [2] (the form used by glibc and most all other systems). # See also, the "References" section below. # POSIX timezone conventions # std offset [dst[offset][,start[/time],end[/time]]] # # std, dst: arbitrary mnemonics. 'std (dst) + offset = UTC' # offset: (+-)hh[:mm[:ss]] (note: the offset for 'std' must be specified!! The sign is mandatory!!) # time: hh[:mm[:ss]] # # # start: date of the schedule changes from 'std' to 'dst' # end: date of the schedule changes from 'dst' to 'std' # # - date: either Jn, n or Mm,n,d # -- Jn "Julian day": (1 <= n <= 365) (60: 01 march) # -- n "Julian zero-based day": (0 <= n <= 365) [60: 29 february) # -- Mm.n.d: (m: month, n: week, d: day) || n: [1 = "first week", 5 = "fifth week"] || d: [0 -> "sunday", 6 -> "saturday"] # --- (1 <= m <= 12) ; (1 <= n <= 5) ; (0 <= d <= 6) # Examples: # # a) TZ="CST+6CDT" # b) TZ="NFT-1DST-02:00,M3.5.0,M10.5.0" # c) TZ="NZST-12:00:00NZDT-13:00:00,M10.1.0,M3.3.0" # d) TZ="DMA+3" # # a) 'std' is six hours behind UTC, 'dst' is seven hours behind UTC (deduced implicitly because not specified) # b) 'std' is one hour ahead UTC, 'dst' is two hours ahead UTC (note: the minutes are specified) # c) 'std' is twelve hours ahead UTC, 'dst'..., schedule changes the 'first time' the sunday of the first week of october. # d) 'std' is three hours behind UTC (note: offset is the value added to the local time to arrive at Coordinated Universal Time). # References: # # [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap08.html#tag_08_03 # [2] https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Base#Timezone # [3] http://wiki.musl-libc.org/wiki/Environment_Variables