Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

tzselect(1m) [opensolaris man page]

tzselect(1M)						  System Administration Commands					      tzselect(1M)

NAME
tzselect - select a time zone SYNOPSIS
/usr/bin/tzselect DESCRIPTION
The tzselect program asks you a series of questions about the current location and outputs the resulting time zone description to standard output. The output is suitable as a value for the TZ environment variable. All user interaction is through standard input and standard error. OPTIONS
The tzselect command has no options. EXIT STATUS
The following exit values are returned: 0 Timezone information was successfully obtained. >0 An error occurred. FILES
/usr/share/lib/zoneinfo directory containing timezone data files ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ |Stability |Evolving | +-----------------------------+-----------------------------+ SEE ALSO
zdump(1M), zic(1M), ctime(3C), attributes(5) SunOS 5.11 6 Sep 2001 tzselect(1M)

Check Out this Related Man Page

TZSELECT(8)						    Linux System Administration 					       TZSELECT(8)

NAME
tzselect - select a timezone SYNOPSIS
tzselect DESCRIPTION
The tzselect program asks the user for information about the current location, and outputs the resulting timezone description to standard output. The output is suitable as a value for the TZ environment variable. All interaction with the user is done via standard input and standard error. EXIT STATUS
The exit status is zero if a timezone was successfully obtained from the user, nonzero otherwise. ENVIRONMENT
AWK Name of a Posix-compliant awk program (default: awk). TZDIR Name of the directory containing timezone data files (default: /usr/share/zoneinfo). FILES
TZDIR/iso3166.tab Table of ISO 3166 2-letter country codes and country names. TZDIR/zone.tab Table of country codes, latitude and longitude, TZ values, and descriptive comments. TZDIR/TZ Time zone data file for timezone TZ. SEE ALSO
tzfile(5), zdump(8), zic(8) COLOPHON
This page is part of release 3.55 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. 2007-05-18 TZSELECT(8)
Man Page

4 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Timezone

Hello again, under hp-ux i have a file /etc/TIMEZONE. here is definied which timezone i am. i dont know who reads this file to set after reading the timezone under /usr/lib/tztab. my 2 questions, who reads the file /etc/TIMEZONE ( which service ) and do i need in the first line to set my... (6 Replies)
Discussion started by: ortsvorsteher
6 Replies

2. Shell Programming and Scripting

Timezone in +/-HHMM format

Hey guys, is thr any easy way of fetching Timezone of the Solaris server in (+/-)HHMM format using shell scripts. Say, if the current time zone is GMT, the script should return +0000 If the current timezone is Asia/Calcutta in /etc/TIMEZONE, the scripts has to return +0530 (5 Replies)
Discussion started by: justsam
5 Replies

3. Solaris

Some questions about zone

I am a newbie for solaris ,I just follow the doc to set up zone step by step but at last ,I met some problems when I used zlogin to login ,although the zone seems be running. 1. root@opensolaris-vm:~# zoneadm list -vc ID NAME STATUS PATH BRAND IP... (3 Replies)
Discussion started by: freebsdjlu
3 Replies

4. Shell Programming and Scripting

How to configure time zone using POSIX format in Centos 5?

I was in process of developing a new script to configure a time zone. After some study I got the unix utility /usr/bin/tzselect to get the user inputs. Now I am able to configure the time zone depending on the user inputs except for the POSIX format. root >/usr/bin/tzselect Please identify a... (1 Reply)
Discussion started by: kalpeer
1 Replies