HTML Elements Forums Date & Time Pickers Custom date time format

This topic contains 1 reply, has 2 voices, and was last updated by  Dimitar 3 weeks, 2 days ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #99514

    hansT
    Participant

    Hi !

    Your dateTimePicker component is very flexible and it’s really nice that it support some many formats. I noticed that you even support custom formats from this demo https://www.htmlelements.com/demos/datetimepicker/formats/ . I know how to set the format, but i’m not really sure how to formulate it. I want it to be something like this: ’10 January 2019 – 11:30′. Can you help me out please ?

    Thank you !

    #99520

    Dimitar
    Participant

    Hi hansT,

    To have such a format, please set the property formatString to ‘dd MMMM yyyy – HH:mm’.

    Best regards,
    Dimitar

    Smart HTML Elements Team
    https://www.htmlelements.com/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.