我遇到的使用场景是<input>默认为当前时间,代码如下:

<input name="starttime" >
  1. time():输出当前时间戳
  2. date='Y-m-d',###:格式化为日期形式

相关文章:

  • 2021-12-06
  • 2022-12-23
  • 2022-12-23
  • 2021-12-22
  • 2022-12-23
  • 2021-11-12
  • 2022-01-17
  • 2022-12-23
猜你喜欢
  • 2022-01-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-23
  • 2021-07-01
相关资源
相似解决方案