Home > Archive > Cobol > March 2007 > FUNCTION's LOCALE-(DATE/TIME)
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
FUNCTION's LOCALE-(DATE/TIME)
|
|
| Roger While 2007-03-05, 3:55 am |
| Not a question about implementation, more a question
of expected results for eg. America
(Locale "en_US")
LOCALE-DATE
Let's take March 2 1963
Would that be :
3/2/1963
or :
03/02/1963
(General european is clear - 02.03.1963, eg. for de_DE)
LOCALE-TIME
Let's take 23:30:12
Would that be :
11:30:12 PM
or does America generally work on 24-hour clock ?
Roger
| |
| William M. Klein 2007-03-05, 7:55 am |
| Roger,
I am not certain what the "expectations" are (for NON C-typle Locale), but
you might want to look at what IBM provides for defaults in their "language
environment services" at:
http://publibz.boulder.ibm.com/cgi-...KS/CEEA3130/A.0
That does show:
ZH:MI:SS AP (for time - which means it is using the 12 hour clock with AM /
PM, and the leading "Z" means "zero-suprresion")
and
MM/DD/YY (which means ALWAYS use a 2-digit value - even with leading zeroes)
--
Bill Klein
wmklein <at> ix.netcom.com
"Roger While" <simrw@sim-basis.de> wrote in message
news:esgn79$uik$02$1@news.t-online.com...
> Not a question about implementation, more a question
> of expected results for eg. America
> (Locale "en_US")
>
> LOCALE-DATE
> Let's take March 2 1963
> Would that be :
> 3/2/1963
> or :
> 03/02/1963
> (General european is clear - 02.03.1963, eg. for de_DE)
>
> LOCALE-TIME
> Let's take 23:30:12
> Would that be :
> 11:30:12 PM
>
> or does America generally work on 24-hour clock ?
>
> Roger
>
| |
| Roger While 2007-03-05, 7:55 am |
|
"William M. Klein" <wmklein@nospam.netcom.com> schrieb im Newsbeitrag
news:WISGh.90460$lb3.32244@fe08.news.easynews.com...
> Roger,
> I am not certain what the "expectations" are (for NON C-typle Locale),
> but you might want to look at what IBM provides for defaults in their
> "language environment services" at:
>
> http://publibz.boulder.ibm.com/cgi-...KS/CEEA3130/A.0
>
> That does show:
> ZH:MI:SS AP (for time - which means it is using the 12 hour clock with
> AM / PM, and the leading "Z" means "zero-suprresion")
OK. Seems reasonable. That's what OC gets under Win and Linux/Unix.
>
> and
> MM/DD/YY (which means ALWAYS use a 2-digit value - even with leading
> zeroes)
>
This is interesting. Linux/unix does exactly that with en_US locale.
Windows does not; it does zero suppression (with equivalent of en_US, -
Locale ID 0x0409)
Roger
> --
> Bill Klein
> wmklein <at> ix.netcom.com
> "Roger While" <simrw@sim-basis.de> wrote in message
> news:esgn79$uik$02$1@news.t-online.com...
>
>
| |
|
| Roger While wrote:
> "William M. Klein" <wmklein@nospam.netcom.com> schrieb im Newsbeitrag
> news:WISGh.90460$lb3.32244@fe08.news.easynews.com...
>
> This is interesting. Linux/unix does exactly that with en_US locale.
> Windows does not; it does zero suppression (with equivalent of en_US, -
> Locale ID 0x0409)
I've found that a lot of things use the actual settings in Windows. Try
going into Regional settings, and change the "short date" to include the
leading zeroes - you may find that you'll get them then. (This may or
may not be an acceptable way to fix the problem, but it would identify
where the format may be being changed.)
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~
~ / \ / ~ Live from Albuquerque, NM! ~
~ / \/ o ~ ~
~ / /\ - | ~ daniel@thebelowdomain ~
~ _____ / \ | ~ http://www.djs-consulting.com ~
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
~ GEEKCODE 3.12 GCS/IT d s-:+ a C++ L++ E--- W++ N++ o? K- w$ ~
~ !O M-- V PS+ PE++ Y? !PGP t+ 5? X+ R* tv b+ DI++ D+ G- e ~
~ h---- r+++ z++++ ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~
"Who is more irrational? A man who believes in a God he doesn't see, or
a man who's offended by a God he doesn't believe in?" - Brad Stine
| |
| Roger While 2007-03-05, 6:55 pm |
|
"LX-i" <lxi0007@netscape.net> schrieb im Newsbeitrag
news:htKdnR5FA7QzunHYnZ2dnUVZ_qTinZ2d@co
mcast.com...
> Roger While wrote:
>
> I've found that a lot of things use the actual settings in Windows. Try
> going into Regional settings, and change the "short date" to include the
> leading zeroes - you may find that you'll get them then. (This may or may
> not be an acceptable way to fix the problem, but it would identify where
> the format may be being changed.)
>
That was an excellent idea. Indeed, English/USA is per default
set to zero-suppression.
Now I wonder if I can influence that at the C level.
I suppose it all depends on "typical" usage.
Annoying that in this respect Win gives (per default)
different results to Linux/Unix.
Roger
| |
| Richard 2007-03-05, 6:55 pm |
| On Mar 6, 4:51 am, "Roger While" <s...@sim-basis.de> wrote:
> "LX-i" <lxi0...@netscape.net> schrieb im Newsbeitragnews:htKdnR5FA7QzunHYnZ2dnUVZ
_qTinZ2d@comcast.com...
> Annoying that in this respect Win gives (per default)
> different results to Linux/Unix.
Standard practice for Microsoft. Change (or ignore) what everyone else
does then claim that the Microsoft way _is_ the standard and everyone
else is wrong.
| |
| Roger While 2007-03-05, 6:55 pm |
|
"Richard" <riplin@Azonic.co.nz> schrieb im Newsbeitrag
news:1173115927.324096.235450@c51g2000cwc.googlegroups.com...
> On Mar 6, 4:51 am, "Roger While" <s...@sim-basis.de> wrote:
>
>
> Standard practice for Microsoft. Change (or ignore) what everyone else
> does then claim that the Microsoft way _is_ the standard and everyone
> else is wrong.
Well, some info -
Windows (before Vista) does not know about a locale
name, it only knows about locale "ID's".
Now Linux/unix have had locale names since ....
So, support for LOCALE.
Logically, we would use something like
de_DE@euro.
Win (before Vista) does not know about these things.
(And even with vista, is then "de-DE")
(Note the dash, underline difference)
So, how to get from a locale name to a locale ID.
Well, MS have a "DownLocal..whatever"" which
a) requires an extra library to be installed from MS
and
b) Is only applicable to Win XP Sp2
:-(
So, to implement this in OC, we reproduce the
complete (from MS) table name->id
(and do a string compare from the (truncated at any
non-alphanum character), noting that we use the Linux/Unix name
with underline)
and use the Win GetDateFormat/GetTimeFormat.
Geez.
Note this still does not solve how to get the (Cobol correct?)
format
Roger
| |
| HeyBub 2007-03-05, 9:55 pm |
| Richard wrote:
> On Mar 6, 4:51 am, "Roger While" <s...@sim-basis.de> wrote:
>
>
> Standard practice for Microsoft. Change (or ignore) what everyone else
> does then claim that the Microsoft way _is_ the standard and everyone
> else is wrong.
Flash! This just in! If 90%+ agree on a convention, that IS the de facto
standard.
| |
|
| Roger While wrote:
> Well, some info -
> Windows (before Vista) does not know about a locale
> name, it only knows about locale "ID's".
> Now Linux/unix have had locale names since ....
You mentioned what you could do for XP SP2 - does Vista actually return
what you expect?
The only experience I had with this was when I changed the date/time
formats on a server, and some code that parsed the date broke. :) I
think it was ASP, though it might have been PHP. I had to change it back.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~
~ / \ / ~ Live from Albuquerque, NM! ~
~ / \/ o ~ ~
~ / /\ - | ~ daniel@thebelowdomain ~
~ _____ / \ | ~ http://www.djs-consulting.com ~
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
~ GEEKCODE 3.12 GCS/IT d s-:+ a C++ L++ E--- W++ N++ o? K- w$ ~
~ !O M-- V PS+ PE++ Y? !PGP t+ 5? X+ R* tv b+ DI++ D+ G- e ~
~ h---- r+++ z++++ ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~
"Who is more irrational? A man who believes in a God he doesn't see, or
a man who's offended by a God he doesn't believe in?" - Brad Stine
| |
| Roger While 2007-03-06, 3:55 am |
|
"LX-i" <lxi0007@netscape.net> schrieb im Newsbeitrag
news:Xs-dnca6pL-FUXHYnZ2dnUVZ_hynnZ2d@comcast.com...
> Roger While wrote:
>
> You mentioned what you could do for XP SP2 - does Vista actually return
> what you expect?
>
No, because the system date settings for en_US remain the same as in
XP.
The only thing Vista has in this area is extra library functions to accept
a locale name instead of a locale id.
eg. GetDateFormatEx/GetTimeFormatEx
> The only experience I had with this was when I changed the date/time
> formats on a server, and some code that parsed the date broke. :) I
> think it was ASP, though it might have been PHP. I had to change it back.
>
Ouch.
| |
| Howard Brazee 2007-03-06, 6:55 pm |
| On Mon, 5 Mar 2007 19:22:24 -0600, "HeyBub" <heybubNOSPAM@gmail.com>
wrote:
>
>Flash! This just in! If 90%+ agree on a convention, that IS the de facto
>standard.
When businesses choose to accept a standard that excludes 10% of their
customers - they lose. It is possible to create interfaces that
work with Microsoft & everybody else.
| |
| Richard 2007-03-06, 6:55 pm |
| On Mar 6, 2:22 pm, "HeyBub" <heybubNOS...@gmail.com> wrote:
> Richard wrote:
>
>
>
> Flash! This just in! If 90%+ agree on a convention, that IS the de facto
> standard.
Nobody 'agreed' to it, it was shoved down their throat by Microsoft
without a choice. Most are too stupid to know there is a difference.
Those that care have to hack workarounds.
| |
| Pete Dashwood 2007-03-06, 9:55 pm |
|
"Richard" <riplin@Azonic.co.nz> wrote in message
news:1173209080.174684.121440@q40g2000cwq.googlegroups.com...
> On Mar 6, 2:22 pm, "HeyBub" <heybubNOS...@gmail.com> wrote:
>
> Nobody 'agreed' to it, it was shoved down their throat by Microsoft
> without a choice. Most are too stupid to know there is a difference.
> Those that care have to hack workarounds.
>
>
Guess the answer is not to care... :-)
I agree with Howard that it is possible to have interfaces which work for
everybody, but, I guess, this comes down to cost effectiveness.
If Howard is right and businesses that exclude 10% of their cuistomer base
will suffer long term, then MicroSoft should be suffering about now...
The fact is that the people who are upset by this are not "MS friendly"
anyway and so there is no incentive for MS to try and be more embracing.
Not being axperienced with Linux or Unix I confess to not understanding what
Roger's problem is or why he has to "hack a workaround". In a Windows
environment, locales seem to be handled pretty well (my experience extends
as far as Control Panel... :-))and the whole world is running Windows in
their native languages...
Is this really such a big deal?
Pete.
| |
|
| Pete Dashwood wrote:
[snip]
>
> Is this really such a big deal?
Well, if you provide a compiler a locale, and then use LOCALE-DATE,
you'd expect the same thing to come back no matter where your program is
executing. That it doesn't is causing Mr. While some extra work. Not
something that can't be overcome, but I can understand his frustration...
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~
~ / \ / ~ Live from Albuquerque, NM! ~
~ / \/ o ~ ~
~ / /\ - | ~ daniel@thebelowdomain ~
~ _____ / \ | ~ http://www.djs-consulting.com ~
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
~ GEEKCODE 3.12 GCS/IT d s-:+ a C++ L++ E--- W++ N++ o? K- w$ ~
~ !O M-- V PS+ PE++ Y? !PGP t+ 5? X+ R* tv b+ DI++ D+ G- e ~
~ h---- r+++ z++++ ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~
"Who is more irrational? A man who believes in a God he doesn't see, or
a man who's offended by a God he doesn't believe in?" - Brad Stine
| |
| Pete Dashwood 2007-03-07, 3:55 am |
|
"LX-i" <lxi0007@netscape.net> wrote in message
news:k_GdnSxVef-nu3PYnZ2dnUVZ_qzinZ2d@comcast.com...
> Pete Dashwood wrote:
> [snip]
>
> Well, if you provide a compiler a locale, and then use LOCALE-DATE, you'd
> expect the same thing to come back no matter where your program is
> executing. That it doesn't is causing Mr. While some extra work. Not
> something that can't be overcome, but I can understand his frustration...
>
>
Ah, I see. Thanks for the clarification.
Wouldn't it be up to the compiler supplier to ensure it worked consistently
on the platforms they have stated their compiler supports?
Pete
| |
|
| Pete Dashwood wrote:
> "LX-i" <lxi0007@netscape.net> wrote in message
> news:k_GdnSxVef-nu3PYnZ2dnUVZ_qzinZ2d@comcast.com...
> Ah, I see. Thanks for the clarification.
>
> Wouldn't it be up to the compiler supplier to ensure it worked consistently
> on the platforms they have stated their compiler supports?
I can see both sides on this particular issue... If the function is
supposed to get the locale information that's built into the OS, then
they would probably get grief from one camp or the other for tweaking
it. If it's supposed to be the same, then they'd have to provide their
own locale look-up and format - then, every time someone worldwide
changed something, they'd have to update their library and get it
deployed to all their customers.
My opinion - I'd rather rely on facilities inherent in the OS. Take the
upcoming DST change, for example. If you had your own routine, you'd be
having to crank out some serious code. (Well, that should already be
done at this point, as the change happens in 5 days!) If you rely on
the OS, then it will more than likely be updated - and, if not, at least
you're consistent with the other apps on the system.
I'm not sure how tough it would be in Roger's case to convert the pieces
to ensure consistency - probably an unstring/re-string would do it.
But, if you're trying to make routines that work consistently across
locales, even that would be a challenge. Do you split on "-", "/", " ",
or something else?
And, while this may seem trivial to some (and I'm *not* implying that
you see it that way), I do see his point that he shouldn't have to jump
through those hoops. Making a program locale-aware is a good thing,
IMO. :)
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~
~ / \ / ~ Live from Albuquerque, NM! ~
~ / \/ o ~ ~
~ / /\ - | ~ daniel@thebelowdomain ~
~ _____ / \ | ~ http://www.djs-consulting.com ~
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
~ GEEKCODE 3.12 GCS/IT d s-:+ a C++ L++ E--- W++ N++ o? K- w$ ~
~ !O M-- V PS+ PE++ Y? !PGP t+ 5? X+ R* tv b+ DI++ D+ G- e ~
~ h---- r+++ z++++ ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~
"Who is more irrational? A man who believes in a God he doesn't see, or
a man who's offended by a God he doesn't believe in?" - Brad Stine
| |
| William M. Klein 2007-03-07, 3:55 am |
| But Pete,
Roger *IS* the compiler supplier (he is doing much of the work on "Open
COBOL" - which is why he is asking HOW to implement this '02 Standard feature.
--
Bill Klein
wmklein <at> ix.netcom.com
"Pete Dashwood" <dashwood@removethis.enternet.co.nz> wrote in message
news:556sm4F23aj2oU1@mid.individual.net...
>
> "LX-i" <lxi0007@netscape.net> wrote in message
> news:k_GdnSxVef-nu3PYnZ2dnUVZ_qzinZ2d@comcast.com...
> Ah, I see. Thanks for the clarification.
>
> Wouldn't it be up to the compiler supplier to ensure it worked consistently on
> the platforms they have stated their compiler supports?
>
> Pete
>
>
| |
| Pete Dashwood 2007-03-07, 7:57 am |
|
"William M. Klein" <wmklein@nospam.netcom.com> wrote in message
news:lYsHh.199683$ff2.84678@fe02.news.easynews.com...
> But Pete,
> Roger *IS* the compiler supplier (he is doing much of the work on "Open
> COBOL" - which is why he is asking HOW to implement this '02 Standard
> feature.
>
Yes, of course... slipped my memory. Sorry Roger.
Pete
| |
| Pete Dashwood 2007-03-07, 7:57 am |
|
"LX-i" <lxi0007@netscape.net> wrote in message
news:C7WdnU2lUY3R2XPYnZ2dnUVZ_sSmnZ2d@co
mcast.com...
> Pete Dashwood wrote:
>
> I can see both sides on this particular issue... If the function is
> supposed to get the locale information that's built into the OS, then they
> would probably get grief from one camp or the other for tweaking it. If
> it's supposed to be the same, then they'd have to provide their own locale
> look-up and format - then, every time someone worldwide changed something,
> they'd have to update their library and get it deployed to all their
> customers.
OK...
>
> My opinion - I'd rather rely on facilities inherent in the OS. Take the
> upcoming DST change, for example. If you had your own routine, you'd be
> having to crank out some serious code. (Well, that should already be done
> at this point, as the change happens in 5 days!) If you rely on the OS,
> then it will more than likely be updated - and, if not, at least you're
> consistent with the other apps on the system.
>
Yes, very good point.
> I'm not sure how tough it would be in Roger's case to convert the pieces
> to ensure consistency - probably an unstring/re-string would do it. But,
> if you're trying to make routines that work consistently across locales,
> even that would be a challenge. Do you split on "-", "/", " ", or
> something else?
>
> And, while this may seem trivial to some (and I'm *not* implying that you
> see it that way), I do see his point that he shouldn't have to jump
> through those hoops. Making a program locale-aware is a good thing, IMO.
> :)
I don't see it as trivial (I don't think anything that causes programmers
grief is trivial), but, due to my lack of understanding, just couldn't see
whether it is a major problem or not.
I am now much better informed :-)
Thanks.
Pete.
| |
| Donald Tees 2007-03-07, 6:55 pm |
| Pete Dashwood wrote:
> "LX-i" <lxi0007@netscape.net> wrote in message
> news:k_GdnSxVef-nu3PYnZ2dnUVZ_qzinZ2d@comcast.com...
> Ah, I see. Thanks for the clarification.
>
> Wouldn't it be up to the compiler supplier to ensure it worked consistently
> on the platforms they have stated their compiler supports?
>
> Pete
>
>
If the OS changes in unpredictable ways, how does a compiler supplier
conform?
I just had to change ISP's (and my entire mail setup) because my ISP
went to something that denies mail access to non-MSN systems. The techy
at the ISP told me he was unable to help with Email unless he could
install and use a rootkit on my XP computer, and no other OS could be
used. I told him to XXXX himself, and got a new ISP.
Donald
| |
| Howard Brazee 2007-03-07, 6:55 pm |
| On Tue, 06 Mar 2007 21:47:54 -0700, LX-i <lxi0007@netscape.net> wrote:
>My opinion - I'd rather rely on facilities inherent in the OS. Take the
>upcoming DST change, for example. If you had your own routine, you'd be
>having to crank out some serious code. (Well, that should already be
>done at this point, as the change happens in 5 days!) If you rely on
>the OS, then it will more than likely be updated - and, if not, at least
>you're consistent with the other apps on the system.
I just bought a clock radio this January. It has buttons to press to
indicate my time zone and whether or not I'm under daylight savings
time. I suspect it will fail to spring ahead this w end, but will
do so a couple of w s late. But the company should have been
warned when the feds have futzed with daylight savings time in the
past.
Why can't we set up clock radios to synchronize with the radio station
of our choice?
| |
|
| In article <8tjtu2pgpqsbn8h443mi65j5nabilur8q0@4ax.com>,
Howard Brazee <howard@brazee.net> wrote:
[snip]
>Why can't we set up clock radios to synchronize with the radio station
>of our choice?
You can buy clock-radios that synchronise with the NIST atomic clock that
drives WWV... you just need to pay for them.
DD
| |
| Richard 2007-03-07, 6:55 pm |
| On Mar 8, 5:41 am, docdw...@panix.com () wrote:
> In article <8tjtu2pgpqsbn8h443mi65j5nabilur...@4ax.com>,
> Howard Brazee <how...@brazee.net> wrote:
>
> [snip]
>
>
> You can buy clock-radios that synchronise with the NIST atomic clock that
> drives WWV... you just need to pay for them.
... and move to a place where the time is broadcast that way.
| |
| Rick Smith 2007-03-07, 6:55 pm |
|
"Richard" <riplin@Azonic.co.nz> wrote in message
news:1173290902.078364.121120@64g2000cwx.googlegroups.com...
> On Mar 8, 5:41 am, docdw...@panix.com () wrote:
that[color=darkred]
>
> .. and move to a place where the time is broadcast that way.
Since "you" seems to refer to Mr Brazee, he would not
need to move at all. The WWV broadcast facility is
located at Fort Collins, Colorado, within 100 miles of
where he lives.
| |
| Pete Dashwood 2007-03-07, 6:55 pm |
|
"Donald Tees" <donald_tees@donald-tees.ca> wrote in message
news:esmh5t$ofs$1@aioe.org...
> Pete Dashwood wrote:
>
> If the OS changes in unpredictable ways, how does a compiler supplier
> conform?
>
> I just had to change ISP's (and my entire mail setup) because my ISP went
> to something that denies mail access to non-MSN systems. The techy at the
> ISP told me he was unable to help with Email unless he could install and
> use a rootkit on my XP computer, and no other OS could be used. I told him
> to XXXX himself, and got a new ISP.
>
> Donald
>
Good for you. I would've done the same.
To answer your question... (And I stress this is a personal opinion...)
1. If I provide an application which I claim runs under a certain OS, and
then that OS changes so that my application is compromised, I would make a
fix available from a downloadable source, and notify everyone using the
application.
(Application calls to OS dependent facilities should be layered through an
API. If the OS Changes, the API protects the application from needing
amendment. If the API changes, then the OS vendor has to provide details of
the new API and application developers can update their applications.)
2. I would expect a compiler vendor to do exactly that. I should be able to
download a patch and apply it to my compiler.
Pete.
| |
| Howard Brazee 2007-03-07, 6:55 pm |
| On Wed, 7 Mar 2007 15:03:04 -0500, "Rick Smith" <ricksmith@mfi.net>
wrote:
>that
>
>Since "you" seems to refer to Mr Brazee, he would not
>need to move at all. The WWV broadcast facility is
>located at Fort Collins, Colorado, within 100 miles of
>where he lives.
When I moved here, I bought a shareware that synchronized my computer
with the National Atmospheric Center here in Boulder. That's no
longer needed, but I just installed an add-on to my Firefox, showing
the NCAR temperature - in Boulder.
But consider a car radio that has a button on it - you press that
button and it synchronizes its time to whatever station it is tuned
to. Or a travel alarm that checks the time with the radio station
that it is tuned to before turning on in the morning.
Of course when you pay hundreds of dollars for a car radio that loses
its settings when you replace your car battery - I wonder if anybody
in that industry thinks about consumers.
My phone and computer set themselves. Now I have a clock in my iPod
that could be easy to forget.
| |
|
| In article <1173290902.078364.121120@64g2000cwx.googlegroups.com>,
Richard <riplin@Azonic.co.nz> wrote:
>On Mar 8, 5:41 am, docdw...@panix.com () wrote:
>
>.. and move to a place where the time is broadcast that way.
I believe that place is called 'earth', Mr Plinston. While WWV,
specifically, is located in Fort Collins, Colorado, USA its signal has
been received in a variety of places. Are the Antipodes beyond its - or a
similar station's - broadcast radius?
DD
| |
|
| In article <049uu2pq720qfj9mk8tp0u2jc5ksj02kvn@4ax.com>,
Howard Brazee <howard@brazee.net> wrote:
[snip]
>But consider a car radio that has a button on it - you press that
>button and it synchronizes its time to whatever station it is tuned
>to. Or a travel alarm that checks the time with the radio station
>that it is tuned to before turning on in the morning.
Consider a market survey that would assist in determining if such a device
would generate a profit... and that's what Business is all about.
>
>Of course when you pay hundreds of dollars for a car radio that loses
>its settings when you replace your car battery - I wonder if anybody
>in that industry thinks about consumers.
Of *course* they do... it's a Free Market, where everyone is constantly
innovating so that they will gain a competetive advantage over others.
Don't you think that one of the Bright Boys of Blaupunkt has already gone
through this and realised that the Public Just Doesn't Want It, in the
same way that anonymous 'focus groups' tell tissue companies that
consumers want rolls with fewer sheets, thinner paper and higher prices?
DD
| |
|
| Howard Brazee wrote:
>
> Why can't we set up clock radios to synchronize with the radio station
> of our choice?
You probably could, if they were coded that way. :) I think I've seen
some that are supposed to synchronize somehow, but I don't know how it
works (phone, internet, etc...)
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~
~ / \ / ~ Live from Albuquerque, NM! ~
~ / \/ o ~ ~
~ / /\ - | ~ daniel@thebelowdomain ~
~ _____ / \ | ~ http://www.djs-consulting.com ~
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
~ GEEKCODE 3.12 GCS/IT d s-:+ a C++ L++ E--- W++ N++ o? K- w$ ~
~ !O M-- V PS+ PE++ Y? !PGP t+ 5? X+ R* tv b+ DI++ D+ G- e ~
~ h---- r+++ z++++ ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~
"Who is more irrational? A man who believes in a God he doesn't see, or
a man who's offended by a God he doesn't believe in?" - Brad Stine
| |
| Richard 2007-03-07, 6:55 pm |
| On Mar 8, 11:11 am, docdw...@panix.com () wrote:
> In article <1173290902.078364.121...@64g2000cwx.googlegroups.com>,
>
> Richard <rip...@Azonic.co.nz> wrote:
>
>
>
>
>
> I believe that place is called 'earth', Mr Plinston.
I have noticed a tendancy for USAmericans to equate USA == Earth.
> While WWV,
> specifically, is located in Fort Collins, Colorado, USA its signal has
> been received in a variety of places.
"""The WWVB broadcasts are used by millions of people throughout North
America to synchronize ... """
> Are the Antipodes beyond its - or a
> similar station's - broadcast radius?
There is a page of coverage maps at http://tf.nist.gov/timefreq/stations/wwvbcoverage.htm
>From http://tufi.alphalink.com.au/time/time_hf.html :
"""Since the closure of VNG on 31 December 2002, the SW time signals
available in the South Pacific have to travel from Hawaii, mainland
USA, Canada or China. The received signal strength in New Zealand and
Australia is lower and more variable than that from VNG, making
reliable reception more difficult. """
While radio time signals were suitable in the 1920s through to the 70s
it is more reliable to get the time using the internet. Most also have
mechanisms to correct for propagation delays making them more
accurate.
| |
|
| In article <1173315060.361919.72910@s48g2000cws.googlegroups.com>,
Richard <riplin@Azonic.co.nz> wrote:
>On Mar 8, 11:11 am, docdw...@panix.com () wrote:
>
>I have noticed a tendancy for USAmericans to equate USA == Earth.
I have noticed a variety of tendencies among a variety of folks, Mr
Plinston... but I try to judge individuals as individuals first and not
according to stereotypes, unlike certain intellectually lazy folks I've
met.
>
>
>"""The WWVB broadcasts are used by millions of people throughout North
>America to synchronize ... """
>
>
>There is a page of coverage maps at
>http://tf.nist.gov/timefreq/stations/wwvbcoverage.htm
>
>
>
>"""Since the closure of VNG on 31 December 2002, the SW time signals
>available in the South Pacific have to travel from Hawaii, mainland
>USA, Canada or China. The received signal strength in New Zealand and
>Australia is lower and more variable than that from VNG, making
>reliable reception more difficult. """
So the answer would seem to be 'yes, the received signal strength, while
lower and more variable, are in the Antipodes' broadcast reception
radius.'
DD
| |
| Richard 2007-03-07, 9:55 pm |
| On Mar 8, 3:02 pm, docdw...@panix.com () wrote:
> In article
[color=darkred]
> So the answer would seem to be 'yes,
You seem to have the right answer, but to the wrong question.
According the the coverage maps, yes, we are beyond the broadcast
radius. According to other information provided there is no longer a
similar station.
> the received signal strength, while
> lower and more variable, are in the Antipodes' broadcast reception
> radius.'
If you had read the article you may have noticed that it may be
somewhat usable for radio enthusiasts with specialised aerials but ,
in fact, it is nowhere near the signal strength required for 'clock-
radios' and the like.
| |
| HeyBub 2007-03-08, 7:55 am |
| Richard wrote:
>
> If you had read the article you may have noticed that it may be
> somewhat usable for radio enthusiasts with specialised aerials but ,
> in fact, it is nowhere near the signal strength required for 'clock-
> radios' and the like.
Maybe NZ government could set up a "mirror" clock?
While some US cars have atomic-clock-synchronized timepieces, vehicles in
other places have calendars.
| |
| Richard 2007-03-08, 6:55 pm |
| On Mar 9, 2:26 am, "HeyBub" <heybubNOS...@gmail.com> wrote:
> Richard wrote:
>
>
> Maybe NZ government could set up a "mirror" clock?
>
> While some US cars have atomic-clock-synchronized timepieces, vehicles in
> other places have calendars.
Who cares ? Sunup, morning, middleofday, afternnon, sundown is good
enough around here.
| |
|
| In article <1173321972.353124.166850@p10g2000cwp.googlegroups.com>,
Richard <riplin@Azonic.co.nz> wrote:
>On Mar 8, 3:02 pm, docdw...@panix.com () wrote:
>
>
>
>You seem to have the right answer, but to the wrong question.
That might be the appearance to a sloppy researcher prone towards bad
editing and midsentence interruptions, Mr Plinston.
>
>According the the coverage maps, yes, we are beyond the broadcast
>radius. According to other information provided there is no longer a
>similar station.
According to other information provided elsewhere - someplace that someone
interested in an actual Answer, rather than a bit of post-Empiric
whingeing, might have looked, coverage, frequencies and times are posted:
From http://tufi.alphalink.com.au/time/time_hf.html :
--begin quoted text:
There is an excellent up-to-date Time Signal Stations Frequency List by
Klaus Betke. [note - dead link] Also refer to David Mills' excellent site
Information on Time and Frequency Services. [note - dead link].
WWVH (Hawaii) and WWV (Colorado)
WWVH and WWV broadcast on the international time standard frequencies of
2.5, 5, 10, 15 and 20 (WWV only) MHz. In New Zealand and Australia 5
and 10 are the best at night, 10 and 15 (on rare occasions also 20 MHz) in
the daytime and early evening. Mostly, WWVH is received at the best
signal strength, with WWV faintly in the background, but at times WWV is
almost as good.
(Currently, in 2002 - 2002, there is a severe interference problem in
Western Australia with many Indonesian fishing vessels using 10 MHz as
their communication channel, ignoring international regulations. This
"chatter" is noticeable as far as South Eastern Australia, but WWVH is
mostly still "usable" there.)
--end quoted text
DD
| |
| Pete Dashwood 2007-03-08, 9:55 pm |
|
<docdwarf@panix.com> wrote in message news:espgbp$qu9$1@reader2.panix.com...
> In article <1173321972.353124.166850@p10g2000cwp.googlegroups.com>,
> Richard <riplin@Azonic.co.nz> wrote:
>
> (Currently, in 2002 - 2002, there is a severe interference problem in
> Western Australia with many Indonesian fishing vessels using 10 MHz as
> their communication channel, ignoring international regulations. This
> "chatter" is noticeable as far as South Eastern Australia, but WWVH is
> mostly still "usable" there.)
>
> --end quoted text
>
> DD
>
I use the internet to find out what the time is, so I have no intention of
entering the debate around this.
I would note in passing that from a purely rhetorical perspective, citing a
5 year old source that is nowhere near where we live, probably doesn't help
to support any argument being made.
The distance from here to Western Australia (after doing a quick check with
Google Earth) is about the same as from New York to Casablanca.
Hardly what you might call "in the neigbourhood"...
Pete.
| |
| HeyBub 2007-03-08, 9:55 pm |
| Richard wrote:
>
> Who cares ? Sunup, morning, middleofday, afternnon, sundown is good
> enough around here.
Sex on such a rigid schedule! Must be the hemisphere.
| |
| Richard 2007-03-09, 3:55 am |
| On Mar 9, 9:42 am, "Pete Dashwood"
<dashw...@removethis.enternet.co.nz> wrote:
> <docdw...@panix.com> wrote in messagenews:espgbp$qu9$1@reader2.panix.com...
>
>
>
>
> I use the internet to find out what the time is, so I have no intention of
> entering the debate around this.
>
> I would note in passing that from a purely rhetorical perspective, citing a
> 5 year old source that is nowhere near where we live, probably doesn't help
> to support any argument being made.
>
> The distance from here to Western Australia (after doing a quick check with
> Google Earth) is about the same as from New York to Casablanca.
>
> Hardly what you might call "in the neigbourhood"...
One time when I was dealing with Microfocus they suggested I deal with
their agent in Melbourne. I pointed out that was the same distance
from me as Moscow is from Reading.
| |
|
| In article <55baphF24ancmU1@mid.individual.net>,
Pete Dashwood <dashwood@removethis.enternet.co.nz> wrote:
>
><docdwarf@panix.com> wrote in message news:espgbp$qu9$1@reader2.panix.com...
>
>I use the internet to find out what the time is, so I have no intention of
>entering the debate around this.
>
>I would note in passing that from a purely rhetorical perspective, citing a
>5 year old source that is nowhere near where we live, probably doesn't help
>to support any argument being made.
Mr Dashwood, the source says 'it can be found here'... perhaps someone in
those environs who is interested in verification might take action.
>
>The distance from here to Western Australia (after doing a quick check with
>Google Earth) is about the same as from New York to Casablanca.
.... and in Casablanca, Mr Dashwood, one can receive, at night, AM radio
signals from 50,000 watt stations in New York.
>
>Hardly what you might call "in the neigbourhood"...
That might depend, Mr Dashwood, on what one has seen demonstrated of the
propogation of radio-waves... have you ever heard tales of a lad sitting
up, late at night, fiddling about with a home-made crystal radio set,
tuned with a 'cat's whisker', pulling in signals from thousands of miles
away... out of the aether, fuzz and buzz... and then something sounding
like a rhythmic mud-fight in a paper bag, must be music... and then a
voice, usually a clear, ringing baritone, announcing the call-letters of a
station in a far-off city...
.... sorry, got carried back a bit there.
DD
| |
| Richard 2007-03-09, 3:55 am |
| On Mar 9, 1:53 pm, docdw...@panix.com () wrote:
> In article <55baphF24anc...@mid.individual.net>,
>
>
>
> Pete Dashwood <dashw...@removethis.enternet.co.nz> wrote:
>
>
>
>
>
>
> Mr Dashwood, the source says 'it can be found here'... perhaps someone in
> those environs who is interested in verification might take action.
>
>
>
>
> ... and in Casablanca, Mr Dashwood, one can receive, at night, AM radio
> signals from 50,000 watt stations in New York.
>
>
>
>
> That might depend, Mr Dashwood, on what one has seen demonstrated of the
> propogation of radio-waves... have you ever heard tales of a lad sitting
> up, late at night, fiddling about with a home-made crystal radio set,
> tuned with a 'cat's whisker', pulling in signals from thousands of miles
> away... out of the aether, fuzz and buzz... and then something sounding
> like a rhythmic mud-fight in a paper bag, must be music... and then a
> voice, usually a clear, ringing baritone, announcing the call-letters of a
> station in a far-off city...
You've almost convinced me that is how I should get my clock-radio to
have the exact time down to the nearest nanosecond, or at least to
within whatever the propagation delay might be tonight.
Nope, I'll stick with the cat patting me in the face around 6am
because the neighbour's cat has been in an eaten all his food.
| |
| Pete Dashwood 2007-03-09, 3:55 am |
|
<docdwarf@panix.com> wrote in message news:esqb5s$frg$1@reader2.panix.com...
> In article <55baphF24ancmU1@mid.individual.net>,
> Pete Dashwood <dashwood@removethis.enternet.co.nz> wrote:
>
> Mr Dashwood, the source says 'it can be found here'... perhaps someone in
> those environs who is interested in verification might take action.
>
>
> ... and in Casablanca, Mr Dashwood, one can receive, at night, AM radio
> signals from 50,000 watt stations in New York.
>
>
> That might depend, Mr Dashwood, on what one has seen demonstrated of the
> propogation of radio-waves... have you ever heard tales of a lad sitting
> up, late at night, fiddling about with a home-made crystal radio set,
> tuned with a 'cat's whisker', pulling in signals from thousands of miles
> away... out of the aether, fuzz and buzz... and then something sounding
> like a rhythmic mud-fight in a paper bag, must be music... and then a
> voice, usually a clear, ringing baritone, announcing the call-letters of a
> station in a far-off city...
>
> ... sorry, got carried back a bit there.
>
> DD
>
| |
| Pete Dashwood 2007-03-09, 3:55 am |
|
<docdwarf@panix.com> wrote in message news:esqb5s$frg$1@reader2.panix.com...
> In article <55baphF24ancmU1@mid.individual.net>,
> Pete Dashwood <dashwood@removethis.enternet.co.nz> wrote:
>
> Mr Dashwood, the source says 'it can be found here'... perhaps someone in
> those environs who is interested in verification might take action.
>
>
> ... and in Casablanca, Mr Dashwood, one can receive, at night, AM radio
> signals from 50,000 watt stations in New York.
Possibly... but I thnk the point is they have trouble receiving them in
Western Australia...:-)
I was using a realistic analogy (that might be readily perceivable by one
domiciled in New York) to try and demonstrate that Western Australia is a
very long way from New Zealand, so there is really no basis for concluding
that radio reception there will be the same as in Aotearoa. It really has
nothing to do with radio reception in Casablanca, where I'm quite sure they
enjoy American programming along with other content.
>
>
> That might depend, Mr Dashwood, on what one has seen demonstrated of the
> propogation of radio-waves... have you ever heard tales of a lad sitting
> up, late at night, fiddling about with a home-made crystal radio set,
> tuned with a 'cat's whisker', pulling in signals from thousands of miles
> away... out of the aether, fuzz and buzz... and then something sounding
> like a rhythmic mud-fight in a paper bag, must be music... and then a
> voice, usually a clear, ringing baritone, announcing the call-letters of a
> station in a far-off city...
>
Yes, and happy times they were too :-). When quite young, I too had a
crystal set, and put the headphones on after lights out so I could search
the ether... I remember soldering extra connection points into the coil for
my crocodile clip, so I could instantly get my favourite local stations as
well as shortwave... (Kids today don't know what they're missing with their
iPods... :-) )
And yes, there were those rare and exciting occasions when one would
frantically scratch the crystal to try and get a better "spot" for the cat's
whisker, because we were onto something really exotic :-)... sometimes it
helped, sometimes it didn't but either way it made you feel like you were
involved in something much bigger than the immediate backyard.
However, propagation of radio waves aside, it was never solid and consistent
and you could go back the next night to the same spot and find nothing...
Fact is, that propagation depends on many factors and some of them are
wildly variable. Certainly the energy of the transmitter is a major factor,
but even a high multi Megawatt transmitter can be stymied by ionic
interference, sunspots, inversion layers and a host of other factors. (It
was this very problem that was a major impetus towards establishing
geo-stationary satellites...)
> ... sorry, got carried back a bit there.
Not at all :-)
Happy memories of a bygone time...
Pete.
| |
| Pete Dashwood 2007-03-09, 3:55 am |
|
"Richard" <riplin@Azonic.co.nz> wrote in message
news:1173403782.935157.249600@64g2000cwx.googlegroups.com...
> On Mar 9, 1:53 pm, docdw...@panix.com () wrote:
>
> You've almost convinced me that is how I should get my clock-radio to
> have the exact time down to the nearest nanosecond, or at least to
> within whatever the propagation delay might be tonight.
>
> Nope, I'll stick with the cat patting me in the face around 6am
> because the neighbour's cat has been in an eaten all his food.
>
Yep, you can't stroke an alarm clock :-)
The alarm cat is an infinitely superior solution...with many other fringe
benefits... like purring you to sleep when you can't... :-)
Pete.
| |
| Howard Brazee 2007-03-09, 6:55 pm |
| On 8 Mar 2007 17:29:43 -0800, "Richard" <riplin@Azonic.co.nz> wrote:
>You've almost convinced me that is how I should get my clock-radio to
>have the exact time down to the nearest nanosecond, or at least to
>within whatever the propagation delay might be tonight.
>
>Nope, I'll stick with the cat patting me in the face around 6am
>because the neighbour's cat has been in an eaten all his food.
People use clock-radios because they want to wake up at a particular
time. They don't want the clock-radio springing ahead at the old
daylight savings time date.
But more useful is the car radio that contains a clock in a vehicle
that crosses time zones. They should have the ability to tune to a
local station, you press a button and your clock is on local time.
Cell phones adjust. Computers adjust. (Although Outlook tries to
out-guess you whether your appointment will be a teleconference or a
face-to-face conference while setting up your calendar).
| |
| Roger While 2007-03-09, 6:55 pm |
| What was the original Q ?
:-)
Thanks Bill, :-)
| |
|
| In article <55cl75F24beigU1@mid.individual.net>,
Pete Dashwood <dashwood@removethis.enternet.co.nz> wrote:
>
><docdwarf@panix.com> wrote in message news:esqb5s$frg$1@reader2.panix.com...
>
>Possibly... but I thnk the point is they have trouble receiving them in
>Western Australia...:-)
Pardon my attempt to generate an a fortiriori argument, Mr Dashwood...
sometimes they take a bit of work to unravel, or so I've seen.
>
> I was using a realistic analogy (that might be readily perceivable by one
>domiciled in New York) to try and demonstrate that Western Australia is a
>very long way from New Zealand, so there is really no basis for concluding
>that radio reception there will be the same as in Aotearoa.
Mr Dashwood, once again... the assertion's been made and there are
sufficient data given to attempt to verify. To ignore this in the face of
analogies, realistic or not, might not assist in arriving at a
reproducible phenomenon as actually Doing The Work might.
[snip]
>And yes, there were those rare and exciting occasions when one would
>frantically scratch the crystal to try and get a better "spot" for the cat's
>whisker, because we were onto something really exotic :-)... sometimes it
>helped, sometimes it didn't but either way it made you feel like you were
>involved in something much bigger than the immediate backyard.
Perhaps what's been given here, Mr Dashwood, might allow someone a chance
for similar sensations.
>
>However, propagation of radio waves aside, it was never solid and consistent
>and you could go back the next night to the same spot and find nothing...
>Fact is, that propagation depends on many factors and some of them are
>wildly variable.
If one knew the results ahead of time, Mr Dashwood, it might be more of a
reproduction and less of an experiment.
DD
| |
| Richard 2007-03-09, 6:55 pm |
| On Mar 10, 4:34 am, Howard Brazee <how...@brazee.net> wrote:
> People use clock-radios because they want to wake up at a particular
> time. They don't want the clock-radio springing ahead at the old
> daylight savings time date.
I suspect that in the states you will have considerable problems due
to your government shifting the goalposts..
> But more useful is the car radio that contains a clock in a vehicle
> that crosses time zones. They should have the ability to tune to a
> local station, you press a button and your clock is on local time.
If you were to attempt to drive across a timezone in a car from here
then knowing the time will be the least of your problems.
I always found that when flying somewhere it was best to set the
destination time when boarding the plane and stick to that regardless
of what the airline staff wanted to do. But then most of my
travelling has been a 12 hour timeshift on a 26 to 30 hour travelling
time.
Once I lost a complete day, but it was a Friday the 13th so no loss.
We crossed the dateline at 11:45 pm on thursday and, due to daylight
saving still being in force went to 12:45am saturday.
> Cell phones adjust. Computers adjust. (Although Outlook tries to
> out-guess you whether your appointment will be a teleconference or a
> face-to-face conference while setting up your calendar).
I have heard bad things about outlook, yes. One of the reasons that I
dislike microsoft products is that I want things done _my_ way and not
have them changed randomly to what some ms programmer thinks they
should be.
| |
| Howard Brazee 2007-03-09, 6:55 pm |
| On 9 Mar 2007 11:12:39 -0800, "Richard" <riplin@Azonic.co.nz> wrote:
>I have heard bad things about outlook, yes. One of the reasons that I
>dislike microsoft products is that I want things done _my_ way and not
>have them changed randomly to what some ms programmer thinks they
>should be.
My son-in-law was an hour late to a meeting with his boss in Seattle -
arriving when Outlook told him in Denver the meeting was.
But Apple tends to be even more "do things my way".
|
|
|
|
|