How to set a value for the input type 'datetime-local'?

后端 未结 10 1276
猫巷女王i
猫巷女王i 2020-12-25 11:59

I tried this:

\" class=\"date\" name=\"start\" REQUIRED>

H

10条回答
  •  伪装坚强ぢ
    2020-12-25 12:36

    it's simple is that and working for me first convert your php value to this format

     time_in);   ?>
    

    then in value of html input element use this format

     
    

    this will set your value to input element

提交回复
热议问题