Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
August 1, 2005, 8:44 am
rate this thread
user. I need to write this value to a database to trigger an event later on.
What I'd like to know is...
formats to a known format (24 hour clock)... 5pm -> 17:00 or 5:00 -> 05:00,
Assuming that I get the input into a 24 hour format, how can I create a full
time/date variable with todays date and the users entered time?
Finally, if the entered time is earlier than the current time, how can I
create the above date/time combination using tomorrows date?
Wouldn't this be better done on the server?
based on the strng the visitor enters. once it is a "date" then yo can
do what ever you like with it (based on the propertied an methods of
the date object)