Mozilla has a good write-up on the DateTime input type along with it's DateTime-Local variant. I would suggest you read through this to learn how the HTML DatePicker works
<input type="datetime-local"> - HTML: Hypertext Markup Language | MDN[
^]
As for displaying in it in IST (which your sample is not), I would recommend on reading up on the JavaScript Date & Time formatting options
JavaScript Date Formats[
^]
How to get DateTime with Timezone Offset (8601 format) in Javascript[
^]
How to format a JavaScript date - Stack Overflow[
^]
There is plenty of documentation out there to get you started. If you should have a problem with the code that you are writing, please feel free to post again with the code, what you want the code to do, and what actually happens.
This makes it a lot easier to help you with the actual problem.