473,786 Members | 2,866 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

javascript time selector

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

Jan 17 '06 #1
12 20610
qu******@yahoo. 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.

--
-bts
-Warning: I brake for lawn deer
Jan 17 '06 #2
did you try searching the internet?

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

Jan 17 '06 #3
JRS: In article <11************ *********@g47g2 000cwa.googlegr oups.com>,
dated Tue, 17 Jan 2006 09:51:06 remote, seen in news:comp.infos ystems.ww
w.authoring.htm l, qu******@yahoo. com posted :
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.
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.demo n.co.uk/js-date6.htm>.
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.demo n.co.uk/> - w. FAQish topics, links, acronyms
PAS EXE etc : <URL:http://www.merlyn.demo n.co.uk/programs/> - see 00index.htm
Dates - miscdate.htm moredate.htm js-dates.htm pas-time.htm critdate.htm etc.
Jan 17 '06 #4
Dr John Stockton wrote:
JRS: In article <11************ *********@g47g2 000cwa.googlegr oups.com>,
dated Tue, 17 Jan 2006 09:51:06 remote, seen in news:comp.infos ystems.ww
w.authoring.htm l, qu******@yahoo. 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
Jan 18 '06 #5
On Wed, 18 Jan 2006 04:00:51 GMT, RobG <rg***@iinet.ne t.au> wrote:
The OP is clearly referring to midnight since it is both 12 am and 12 pm
simultaneous ly - noon is neither. ;-)


12am = midnight
12pm = noon

-- Steven

Jan 18 '06 #6
Steven wrote:
On Wed, 18 Jan 2006 04:00:51 GMT, RobG <rg***@iinet.ne t.au> wrote:

The OP is clearly referring to midnight since it is both 12 am and 12 pm
simultaneousl y - 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.greenwichme antime.com/info/noon.htm>
<URL:http://tf.nist.gov/general/misc.htm#Anchor-57026>
<URL:http://www.worldtimezo ne.com/wtz-names/wtz-am-pm.html>

--
Rob
Jan 18 '06 #7
On Wed, 18 Jan 2006 05:42:19 GMT, RobG <rg***@iinet.ne t.au> wrote:
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.
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.
<URL:http://wwp.greenwichme antime.com/info/noon.htm>
<URL:http://tf.nist.gov/general/misc.htm#Anchor-57026>
<URL:http://www.worldtimezo ne.com/wtz-names/wtz-am-pm.html>


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

Jan 18 '06 #8
JRS: In article <1h************ *************** **@40tude.net>, dated
Tue, 17 Jan 2006 18:47:11 remote, seen in news:comp.infos ystems.www.auth
oring.html, Beauregard T. Shagnasty <a.*********@ex ample.invalid> posted
:
qu******@yahoo .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.demo n.co.uk/> - w. FAQish topics, links, acronyms
PAS EXE etc : <URL:http://www.merlyn.demo n.co.uk/programs/> - see 00index.htm
Dates - miscdate.htm moredate.htm js-dates.htm pas-time.htm critdate.htm etc.
Jan 18 '06 #9
Dr John Stockton wrote:
Beauregard T. Shagnasty posted
:
qu******@yaho o.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.
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.
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
Jan 18 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
15750
by: George Hester | last post by:
I have a css file this is a portion of it: /* trackaccept.css */ div.track { width:400px; height: 100px; } I have this in my ASP page:
12
2535
by: Duderonomoy | last post by:
Hello, I am querying the JavaScript community to learn if others are having problems with Safari and JavaScript arrays: myImages = ; then referenced like this:
6
3982
by: Fungii | last post by:
Hello, I have a stylesheet that sets p:first-letter to a certain size and colour. I was playing around with Javascript to change paragraph stylesheets using an array like this: var paras = document.all.tags("P"); Although I can change the paragraph colours using this array, the first letter of all the paragraphs remain the same
10
3686
by: quickcur | last post by:
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
8
41524
by: pamelafluente | last post by:
Hi guys, Is it possible to add "onload" (via Javascript) a new class to the <styleheader section? If yes, how would that be done ? <style type="text/css" media="screen"> .NewStyleClass{ whatever } </style>
20
2169
by: Neo Geshel | last post by:
I have been looking into Javascript libraries for the last week or two here, and there are certainly a lot of options out there. http://www.prototypejs.org/ http://mootools.net/ http://mochikit.com/ http://script.aculo.us/ And then there are even add-ons to some of these, such as:
3
11598
by: mfc1981 | last post by:
Hi. I need to access to the hover style of an element with javascript. How can i do this? Best regards Manuel
19
2236
by: maya | last post by:
hi, so what is "modern" javascript?? the same as "DOM-scripting"? i.e., editing content (or changing appearance of content) dynamically by massaging javascript objects, html elements, etc? (in conjunction with css, you know, the usual...;) this is what is meant by "modern" javascript?? so how do folks feel about this who think javascript is so evil they disable it from their browsers?? do sites designed with "modern" javascript...
0
9650
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9497
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10363
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10164
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9962
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7515
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5534
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4067
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.