在js页面,怎么把string 类型转化为date 类型存入数据库代码如下:date类型转成string <!-- ** * 对Date的扩展,将 Date 转化为指定格式的String * 月(M)、日(d)、12小时(h)、24小时(H)、分2023-02-21JavaScript160