Combined date and time picker

1 posts, 0 answers
  1. paaland
    paaland avatar
    17 posts
    Member since:
    Jun 2009

    Posted 12 Apr 2012 Link to this post

    I need to combine the date and time picker into one input-field so the user can type date and time like this
    2012-03-12 15:56:02 in a single box. When expanding the picker the date and time pickers can be shown separately, but the validator needs to accept both date and time. Is this possible with the Kendo kontrols?

    Also I'd like to override the validator to allow me to type inn offsets. E.g. if the user types +1d the date/time should be Now() + 1 day.
    If the user types -4h the date/time should become Now() - 4 hours. Ideally when re-focusing on the field the date/time should change back to the entered offset allowing it to be edited, then on blur change back to the new calculated date/time combo.
Back to Top