Sponsor:

Your company here ā€” click to reach over 10,000 unique daily visitors

phonetz - Man Page

[-h] [-V] <phonenumber> <country code>

Description

The phonetz script returns the local time or the local time range, taking into account multiple time zones and daylight saving time.

Arguments

phonenumber

The phonenumber in any country format or no format.

country

The two upper case letters for the country.
https://laendercode.net/en/2-letter-list.html

The two upper case letters for the country and country number prefix.
https://www.att.com/support_media/images/pdf/Country_Code_List.pdf

Options

-h | --help

Display a help message

-V || --version

Displays the version and exits.

Examples

Local time range for Jamaica
$ phonetz 8769985662 JM
11:40

Local time range for Arizona
$ phonetz 5205551212 US
14:15 <--> 15:15

Files

/usr/bin/phonetz

See Also

ncid(1), ncidd.7

Info

2021-10-9 NCID