小程序获取时间 葛蔓蔓 2022-05-01 242 阅读1分钟 小程序里面获取时间不能用普通的new Date() 用的是getDate(),这个微信开发文档上面也有说明 getDate() getDate(milliseconds) getDate(datestring) getDate(year, month[, date[, hours[, minutes[, seconds[, milliseconds]]]]])