AIX numeric time zone offset

910 views Asked by At

Is there an OS command to display the numeric time zone offset in AIX 7.1? Other Unix systems have the "date +%z" command that will return it (-0400 for example). AIX will return its abbreviation (EDT for example) instead.

1

There are 1 answers

0
CoreyStup On

GNU's date is usually installed in /usr/linux/bin on AIX versions later than 6.x. Unless your Sysadmin had some specific reason not to install those packages by default, they are likely to be there.

If its not installed, IBM provides the Linux Toolbox for AIX.

After its installed, a quick alias date=/usr/linux/bin/date would give you GNU date by default.