On the server side you should be able to set up a parser with a standard date/time pattern string that fits the javascript output.
Adam
On 10/10/2003 07:08 PM James Mitchell wrote:
I don't recall any handy dandy utilities for time. Sure, there are plenty for dates, but I don't seem to recall that being requested very often or I just have missed it since it hasn't been a requirement in any of my latest projects.
-- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org 678.910.8017 770.822.3359 AIM:jmitchtx
----- Original Message ----- From: "Mick Knutson" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, October 10, 2003 12:55 PM
Subject: Re: [ot] Time format and time picking?
No, I understand how to get the time correct, I am just hoping someone has
a
utility that will help me do this, as well as convert it back to 12 hour formatted time. Just so I don't have to re-invent the wheel.
--- Thanks Mick Knutson
The world is a playground...Play Hard, Play Smart. Visit http://www.YourSoS.com to learn how our "Personal Emergency Alert & Contact System" can help you Play Smart.
+00 1 (708) 570-2772 Fax MSN: mickknutson ICQ: 316498480 ICQ URL: http://wwp.icq.com/316498480
---
----- Original Message ----- From: "James Mitchell" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, October 10, 2003 9:38 AM
Subject: Re: [ot] Time format and time picking?
Add 12 to the hour.
8:30 AM == 830 8:30 PM == 2030 1:00 PM == 1300
...is that what you wanted?
-- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org 678.910.8017 770.822.3359 AIM:jmitchtx
----- Original Message ----- From: "Mick Knutson" <[EMAIL PROTECTED]>
To: "struts" <[EMAIL PROTECTED]>
Sent: Friday, October 10, 2003 11:59 AM
Subject: [ot] Time format and time picking?
I need the ability to have a user choose their own Time. But, I can
only
seem to get 24 hour time to work. So, Either I need to find a
JavaScript
Time Chooser, or I need help to figure out how to convert the time
(8:56PM)
to the Military time.
Any help on this?
--- Thanks Mick Knutson
-- struts 1.1 + tomcat 5.0.12 + java 1.4.2 Linux 2.4.20 RH9
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

