Alan Nisbet wrote:
Hi,
I'm trying to capture date and time from a datetimepicker, so I want
the date object to contain both date and time. Has anyone come up with
a decent solution on how to do this?
I would have thought it was a relatively common thing to try and do!
Best Regards,
Alan.
It's a matter of ensuring the param you post to your action is in the
appropriate datetime format supported by the date converter (eg. RFC3339).
You can assemble the param from multiple inputs/widgets on the client
side using javascript prior to posting a form (and after loading a page
for the reverse)
The datetimepicker widget itself does not support selection of both date
and time. You need multiple widgets and you'll need to format/parse the
param in javascript yourself.
You may be less effort to use a date and time picker from a javascript
library that supports this already.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]