HighDots Forums  

javascript time selector

HTML Writing HTML for the Web (comp.infosystems.www.authoring.html)


Discuss javascript time selector in the HTML forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
quickcur@yahoo.com
 
Posts: n/a

Default javascript time selector - 01-17-2006 , 12:51 PM






Hi all:

There are many javascript date selector available which help you input
date in a text field. And we see a lot of this on travel site when you
select date for air ticket. Could anyone point me a time selector? I am
looking for something that can input time as 12:00:00 AM.

Thanks,

qq


Reply With Quote
  #2  
Old   
Beauregard T. Shagnasty
 
Posts: n/a

Default Re: javascript time selector - 01-17-2006 , 01:47 PM






quickcur (AT) yahoo (DOT) com wrote:

Quote:
There are many javascript date selector available which help you input
date in a text field. And we see a lot of this on travel site when
you select date for air ticket. Could anyone point me a time
selector? I am looking for something that can input time as 12:00:00
AM.
You are implying you want me (the visitor) to input the current time on
*my* computer. Are you sure you want to do that? Due to my depleted
CMOS battery, my current time is ... four days, six hours, nine minutes
ago.

--
-bts
-Warning: I brake for lawn deer


Reply With Quote
  #3  
Old   
Dan Rumney
 
Posts: n/a

Default Re: javascript time selector - 01-17-2006 , 05:24 PM



did you try searching the internet?

Google: javascript time selector
First hit
http://www.javascriptkit.com/script/...calendar.shtml


Reply With Quote
  #4  
Old   
Dr John Stockton
 
Posts: n/a

Default Re: javascript time selector - 01-17-2006 , 05:36 PM



JRS: In article <1137520266.366736.27350 (AT) g47g2000cwa (DOT) googlegroups.com>,
dated Tue, 17 Jan 2006 09:51:06 remote, seen in news:comp.infosystems.ww
w.authoring.html, quickcur (AT) yahoo (DOT) com posted :

Quote:
There are many javascript date selector available which help you input
date in a text field.
One wonders what you think the *.javascript newsgroups were created for.

Quote:
And we see a lot of this on travel site when you
select date for air ticket. Could anyone point me a time selector?
See in <URL:http://www.merlyn.demon.co.uk/js-date6.htm>.

Quote:
I am
looking for something that can input time as 12:00:00 AM.
That's FFF. On the Web, international standards should be followed.

12:00:00 AM itself, of course, is ridiculous.


*** DO NOT MULTI-POST ***

--
© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 MIME. ©
Web <URL:http://www.merlyn.demon.co.uk/> - w. FAQish topics, links, acronyms
PAS EXE etc : <URL:http://www.merlyn.demon.co.uk/programs/> - see 00index.htm
Dates - miscdate.htm moredate.htm js-dates.htm pas-time.htm critdate.htm etc.


Reply With Quote
  #5  
Old   
RobG
 
Posts: n/a

Default Re: javascript time selector - 01-17-2006 , 11:00 PM



Dr John Stockton wrote:
Quote:
JRS: In article <1137520266.366736.27350 (AT) g47g2000cwa (DOT) googlegroups.com>,
dated Tue, 17 Jan 2006 09:51:06 remote, seen in news:comp.infosystems.ww
w.authoring.html, quickcur (AT) yahoo (DOT) com posted :
[...]

I am
looking for something that can input time as 12:00:00 AM.


That's FFF. On the Web, international standards should be followed.

12:00:00 AM itself, of course, is ridiculous.

The OP is clearly referring to midnight since it is both 12 am and 12 pm
simultaneously - noon is neither. ;-)



--
Rob


Reply With Quote
  #6  
Old   
Steven
 
Posts: n/a

Default Re: javascript time selector - 01-18-2006 , 12:04 AM



On Wed, 18 Jan 2006 04:00:51 GMT, RobG <rgqld (AT) iinet (DOT) net.au> wrote:

Quote:
The OP is clearly referring to midnight since it is both 12 am and 12 pm
simultaneously - noon is neither. ;-)
12am = midnight
12pm = noon

-- Steven



Reply With Quote
  #7  
Old   
RobG
 
Posts: n/a

Default Re: javascript time selector - 01-18-2006 , 12:42 AM



Steven wrote:
Quote:
On Wed, 18 Jan 2006 04:00:51 GMT, RobG <rgqld (AT) iinet (DOT) net.au> wrote:


The OP is clearly referring to midnight since it is both 12 am and 12 pm
simultaneously - noon is neither. ;-)


12am = midnight
12pm = noon
That might agree with colloquial use in a few places, but I don't think
you'll find a single authority that will agree with you.

The terms 12 am and 12 pm are confusing and should never be used.

<URL:http://wwp.greenwichmeantime.com/info/noon.htm>
<URL:http://tf.nist.gov/general/misc.htm#Anchor-57026>
<URL:http://www.worldtimezone.com/wtz-names/wtz-am-pm.html>

--
Rob


Reply With Quote
  #8  
Old   
Steven
 
Posts: n/a

Default Re: javascript time selector - 01-18-2006 , 03:13 AM



On Wed, 18 Jan 2006 05:42:19 GMT, RobG <rgqld (AT) iinet (DOT) net.au> wrote:

Quote:
Steven wrote:
12am = midnight
12pm = noon

That might agree with colloquial use in a few places, but I don't think
you'll find a single authority that will agree with you.
I will investigate.

Quote:
The terms 12 am and 12 pm are confusing and should never be used.
Yes they are confusing. I always put it down to the fact that people
like numbering things from 1 not 0. So in this case 12am is really 0am.
I still think that 12am (0am) is valid because the day starts at 0 and
it is before midday. Similarly, 12pm is really 0pm which is 0 hours
after midday.

A local shop advertised its opening hours as 7:30am to 12:00am. This
sounded like a short day but of course it wasn't.

These links do suggest that 12am and 12pm are taboo. I certainly won't
mind if everybody uses a 24-hour clock instead. However, 12am and 12pm
do appear frequently and I know what they mean.

-- Steven



Reply With Quote
  #9  
Old   
Dr John Stockton
 
Posts: n/a

Default Re: javascript time selector - 01-18-2006 , 09:07 AM



JRS: In article <1hdxhgnynkwfr.1qdrdpl0ff4y6.dlg (AT) 40tude (DOT) net>, dated
Tue, 17 Jan 2006 18:47:11 remote, seen in news:comp.infosystems.www.auth
oring.html, Beauregard T. Shagnasty <a.nony.mous (AT) example (DOT) invalid> posted
:
Quote:
quickcur (AT) yahoo (DOT) com wrote:

There are many javascript date selector available which help you input
date in a text field. And we see a lot of this on travel site when
you select date for air ticket. Could anyone point me a time
selector? I am looking for something that can input time as 12:00:00
AM.

You are implying you want me (the visitor) to input the current time on
*my* computer. Are you sure you want to do that? Due to my depleted
CMOS battery, my current time is ... four days, six hours, nine minutes
ago.
You're being silly.

If the computer's idea of the current time were wanted, then the code
would get it directly, perhaps when authorised by a "click".

Those with access to a watch or clock can easily input the current time,
near enough.

In selecting date or time for an air ticket, it must be rare to use the
current time; usually the future, sometimes the past, will be
appropriate.

And, since he wants to be able to choose 12:00:00 AM, then to get that
from the computer clock would require the "Eccles" method.

--
© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 MIME. ©
Web <URL:http://www.merlyn.demon.co.uk/> - w. FAQish topics, links, acronyms
PAS EXE etc : <URL:http://www.merlyn.demon.co.uk/programs/> - see 00index.htm
Dates - miscdate.htm moredate.htm js-dates.htm pas-time.htm critdate.htm etc.


Reply With Quote
  #10  
Old   
Beauregard T. Shagnasty
 
Posts: n/a

Default Re: javascript time selector - 01-18-2006 , 01:40 PM



Dr John Stockton wrote:

Quote:
Beauregard T. Shagnasty posted
:
quickcur (AT) yahoo (DOT) com wrote:

There are many javascript date selector available which help you
input date in a text field. And we see a lot of this on travel site
when you select date for air ticket. Could anyone point me a time
selector? I am looking for something that can input time as
12:00:00 AM.

You are implying you want me (the visitor) to input the current time
on *my* computer. Are you sure you want to do that? Due to my
depleted CMOS battery, my current time is ... four days, six hours,
nine minutes ago.

You're being silly.
Of course.

Quote:
If the computer's idea of the current time were wanted, then the code
would get it directly, perhaps when authorised by a "click".

Those with access to a watch or clock can easily input the current
time, near enough.
...though a bit hard for a script to use those watches and clocks.

Quote:
In selecting date or time for an air ticket, it must be rare to use
the current time; usually the future, sometimes the past, will be
appropriate.
My point exactly. Sorry you didn't understand how I wrote it. I should
have wrapped it in <humour> tags.

--
-bts
-Warning: I brake for lawn deer


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.