Standard telephone number format?
-
Does one exist? I'm getting tired of all the different ways to write phone numbers, and have decided to settle on one. So I was wondering if there already was a standard (like the ISO date format, "yyyy-mm-dd") that I should use, or if I should just pick my own?
-Domenic Denicola- [CPUA 0x1337] “I was born human. But this was an accident of fate—a condition merely of time and place. I believe it's something we have the power to change…”
-
Does one exist? I'm getting tired of all the different ways to write phone numbers, and have decided to settle on one. So I was wondering if there already was a standard (like the ISO date format, "yyyy-mm-dd") that I should use, or if I should just pick my own?
-Domenic Denicola- [CPUA 0x1337] “I was born human. But this was an accident of fate—a condition merely of time and place. I believe it's something we have the power to change…”
Phone number formats differ across countries :- US numbers go like +1-650-123-1234 In India (in Trivandrum anyway) we have +91-471-2555777 Nish
Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]
-
Phone number formats differ across countries :- US numbers go like +1-650-123-1234 In India (in Trivandrum anyway) we have +91-471-2555777 Nish
Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]
Nishant S wrote: +1-650-123-1234 Within the US and Canada, numbers are written
(650) 123-1234
. The 1 before the area code is implied since you need to dial it anyway when calling a different area code. --Mike-- The Internet is a place where absolutely nothing happens. -- Strong Bad 1ClickPicGrabber - Grab & organize pictures from your favorite web pages, with 1 click! My really out-of-date homepage Sonork-100.19012 Acid_Helm -
Phone number formats differ across countries :- US numbers go like +1-650-123-1234 In India (in Trivandrum anyway) we have +91-471-2555777 Nish
Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]
In India numbers can be represented as (471) 255-5777 format like US. Dept. of Telecom standardised to 10 digit phone numbers. The country code is not required. Though in India to dial another area code, you have to preceed it with 0 [0 471 255 5777] instead of a 1 as in US. By the way, is that your home phone number in TVM? My article on a reference-counted smart pointer that supports polymorphic objects and raw pointers
-
Nishant S wrote: +1-650-123-1234 Within the US and Canada, numbers are written
(650) 123-1234
. The 1 before the area code is implied since you need to dial it anyway when calling a different area code. --Mike-- The Internet is a place where absolutely nothing happens. -- Strong Bad 1ClickPicGrabber - Grab & organize pictures from your favorite web pages, with 1 click! My really out-of-date homepage Sonork-100.19012 Acid_HelmMichael Dunn wrote: Within the US and Canada, numbers are written (650) 123-1234. Thanks :-) I guess I knew that rather subconciously. Now I will keep this in mind Nish
Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]
-
In India numbers can be represented as (471) 255-5777 format like US. Dept. of Telecom standardised to 10 digit phone numbers. The country code is not required. Though in India to dial another area code, you have to preceed it with 0 [0 471 255 5777] instead of a 1 as in US. By the way, is that your home phone number in TVM? My article on a reference-counted smart pointer that supports polymorphic objects and raw pointers
Thomas George wrote: By the way, is that your home phone number in TVM? Nope, I first wrote my home phone number. Then dunno why, felt like removing it. There's no one there now, I guess my dad pays the minimum montly rent to keep it alive. Nish
Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]
-
Phone number formats differ across countries :- US numbers go like +1-650-123-1234 In India (in Trivandrum anyway) we have +91-471-2555777 Nish
Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]
To add to that, over here we have: 01111-666666 01111-55555 0111-333-4444 0111-333-333 The zero is the start of the area code (locally for example it is 01884) which is dropped when the international code is added (e.g. 44-1884). After the area code follows the number, of which the five digit type is (AFAIK) now derecated and typically only for older lines, whereas the six digit variety is the most common, with areas like London and Bristol commonly reformatting the numbers to include the last digit of the area code as the first digit of the number (I don't know that for a fact, they may just have a four digit code and a six or seven digit number, because those areas would have had exchanges before the rest of the country? :~ Special codes like toll free or local rate have special four digit area codes and seven digit numbers). The international code is obviously dropped for all UK numbers and the area code is dropped for all in-area numbers. Area codes don't follow geographic areas, they are set much like the area prefix on our postcodes are. I don't think a standard format would be possible, except to say "a number containing the digits 0 to 9 that is between, say, five and 30 digits long".
David Wulff
-
To add to that, over here we have: 01111-666666 01111-55555 0111-333-4444 0111-333-333 The zero is the start of the area code (locally for example it is 01884) which is dropped when the international code is added (e.g. 44-1884). After the area code follows the number, of which the five digit type is (AFAIK) now derecated and typically only for older lines, whereas the six digit variety is the most common, with areas like London and Bristol commonly reformatting the numbers to include the last digit of the area code as the first digit of the number (I don't know that for a fact, they may just have a four digit code and a six or seven digit number, because those areas would have had exchanges before the rest of the country? :~ Special codes like toll free or local rate have special four digit area codes and seven digit numbers). The international code is obviously dropped for all UK numbers and the area code is dropped for all in-area numbers. Area codes don't follow geographic areas, they are set much like the area prefix on our postcodes are. I don't think a standard format would be possible, except to say "a number containing the digits 0 to 9 that is between, say, five and 30 digits long".
David Wulff
David Wulff wrote: I don't think a standard format would be possible, except to say "a number containing the digits 0 to 9 that is between, say, five and 30 digits long". Perhaps a VARCHAR(30) would do fine eh? Nish
Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]
-
David Wulff wrote: I don't think a standard format would be possible, except to say "a number containing the digits 0 to 9 that is between, say, five and 30 digits long". Perhaps a VARCHAR(30) would do fine eh? Nish
Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]
-
To add to that, over here we have: 01111-666666 01111-55555 0111-333-4444 0111-333-333 The zero is the start of the area code (locally for example it is 01884) which is dropped when the international code is added (e.g. 44-1884). After the area code follows the number, of which the five digit type is (AFAIK) now derecated and typically only for older lines, whereas the six digit variety is the most common, with areas like London and Bristol commonly reformatting the numbers to include the last digit of the area code as the first digit of the number (I don't know that for a fact, they may just have a four digit code and a six or seven digit number, because those areas would have had exchanges before the rest of the country? :~ Special codes like toll free or local rate have special four digit area codes and seven digit numbers). The international code is obviously dropped for all UK numbers and the area code is dropped for all in-area numbers. Area codes don't follow geographic areas, they are set much like the area prefix on our postcodes are. I don't think a standard format would be possible, except to say "a number containing the digits 0 to 9 that is between, say, five and 30 digits long".
David Wulff
Eek! I had no idea! I thought that internationally there was all one big unified length/format, and that it was the omission of country/area codes and the addings of various "."s, "-"s, and "+"s that would differ and therefore need to be standardized in its formatting. Wow, well, I learned something new today!
-Domenic Denicola- [CPUA 0x1337] “I was born human. But this was an accident of fate—a condition merely of time and place. I believe it's something we have the power to change…”
-
Eek! I had no idea! I thought that internationally there was all one big unified length/format, and that it was the omission of country/area codes and the addings of various "."s, "-"s, and "+"s that would differ and therefore need to be standardized in its formatting. Wow, well, I learned something new today!
-Domenic Denicola- [CPUA 0x1337] “I was born human. But this was an accident of fate—a condition merely of time and place. I believe it's something we have the power to change…”
We can't even agree on a language - what makes you think we can agree on a telephone number format? :rolleyes:
David Wulff
-
Eek! I had no idea! I thought that internationally there was all one big unified length/format, and that it was the omission of country/area codes and the addings of various "."s, "-"s, and "+"s that would differ and therefore need to be standardized in its formatting. Wow, well, I learned something new today!
-Domenic Denicola- [CPUA 0x1337] “I was born human. But this was an accident of fate—a condition merely of time and place. I believe it's something we have the power to change…”
Just to blow you away, You can still find in odd locations around the world telephone numbers that end with an alphabetical letter. Like L, R, S, M. etc I'll let you guess what the letter is for. :-) Regardz Colin J Davies
Sonork ID 100.9197:Colin
I'm guessing the concept of a 2 hour movie showing two guys eating a meal and talking struck them as 'foreign' Rob Manderson wrote:
-
Just to blow you away, You can still find in odd locations around the world telephone numbers that end with an alphabetical letter. Like L, R, S, M. etc I'll let you guess what the letter is for. :-) Regardz Colin J Davies
Sonork ID 100.9197:Colin
I'm guessing the concept of a 2 hour movie showing two guys eating a meal and talking struck them as 'foreign' Rob Manderson wrote:
Colin Davies wrote: I'll let you guess what the letter is for. :) Even Uncle Google couldn't tell me. :( :~
David Wulff
-
To add to that, over here we have: 01111-666666 01111-55555 0111-333-4444 0111-333-333 The zero is the start of the area code (locally for example it is 01884) which is dropped when the international code is added (e.g. 44-1884). After the area code follows the number, of which the five digit type is (AFAIK) now derecated and typically only for older lines, whereas the six digit variety is the most common, with areas like London and Bristol commonly reformatting the numbers to include the last digit of the area code as the first digit of the number (I don't know that for a fact, they may just have a four digit code and a six or seven digit number, because those areas would have had exchanges before the rest of the country? :~ Special codes like toll free or local rate have special four digit area codes and seven digit numbers). The international code is obviously dropped for all UK numbers and the area code is dropped for all in-area numbers. Area codes don't follow geographic areas, they are set much like the area prefix on our postcodes are. I don't think a standard format would be possible, except to say "a number containing the digits 0 to 9 that is between, say, five and 30 digits long".
David Wulff
David Wulff wrote: I don't think a standard format would be possible, except to say "a number containing the digits 0 to 9 that is between, say, five and 30 digits long". Actually, the international standard limits a full number to 15 digits. (Excluding, I believe the single digit international access prefix itself.)
-
Just to blow you away, You can still find in odd locations around the world telephone numbers that end with an alphabetical letter. Like L, R, S, M. etc I'll let you guess what the letter is for. :-) Regardz Colin J Davies
Sonork ID 100.9197:Colin
I'm guessing the concept of a 2 hour movie showing two guys eating a meal and talking struck them as 'foreign' Rob Manderson wrote:
Colin Davies wrote: You can still find in odd locations around the world telephone numbers that end with an alphabetical letter. Like L, R, S, M. etc Not true. Including country codes, phone numbers must consist of no more than 15 digits 0-9. The use of characters in phone numbers assumes you will use the corresponding digit on the phone pad.
-
Colin Davies wrote: I'll let you guess what the letter is for. :) Even Uncle Google couldn't tell me. :( :~
David Wulff
k, I'm not surprised that google won't show this. Originally telephone exchanges were plug and poke boards like looms. However lines were expensive and so many people used the same "earthed circuit". This was called "party lines". Two systems existed to identify the terminals (phones) on the lines. One system that was numeric where your number ended from 11 to 55 was two groups of rings, The other system was to use morse code as the idetifier. When I was a kid our phone number was 178M my uncles was 178R and the neighbours 178S, so when our phone rang it was two long numbers and when it was for my uncle it was short long short, and the neighbour short short short etc. There are still a few places like forest ranger stations that I know of that use this sort of system still, since it is so reliable. Regardz Colin J Davies
Sonork ID 100.9197:Colin
I'm guessing the concept of a 2 hour movie showing two guys eating a meal and talking struck them as 'foreign' Rob Manderson wrote:
-
Colin Davies wrote: You can still find in odd locations around the world telephone numbers that end with an alphabetical letter. Like L, R, S, M. etc Not true. Including country codes, phone numbers must consist of no more than 15 digits 0-9. The use of characters in phone numbers assumes you will use the corresponding digit on the phone pad.
Check my answer to David please. Regardz Colin J Davies
Sonork ID 100.9197:Colin
I'm guessing the concept of a 2 hour movie showing two guys eating a meal and talking struck them as 'foreign' Rob Manderson wrote:
-
Nishant S wrote: +1-650-123-1234 Within the US and Canada, numbers are written
(650) 123-1234
. The 1 before the area code is implied since you need to dial it anyway when calling a different area code. --Mike-- The Internet is a place where absolutely nothing happens. -- Strong Bad 1ClickPicGrabber - Grab & organize pictures from your favorite web pages, with 1 click! My really out-of-date homepage Sonork-100.19012 Acid_Helm -
but the "+1" would be nice anyway since it tells foreigners which country code to dial ;)
If you go to war, you will destroy a great country a stoned greek chick to the richest man of the world
[sighist] | [Agile Programming] [doxygen]I thought the 1 was the international number for the USA ?? Regardz Colin J Davies
Sonork ID 100.9197:Colin
I'm guessing the concept of a 2 hour movie showing two guys eating a meal and talking struck them as 'foreign' Rob Manderson wrote:
-
I thought the 1 was the international number for the USA ?? Regardz Colin J Davies
Sonork ID 100.9197:Colin
I'm guessing the concept of a 2 hour movie showing two guys eating a meal and talking struck them as 'foreign' Rob Manderson wrote: