js获取计算机当前时间js获取计算机当前时间的方法:function show(){var mydate = new Date()var str = "" + mydate.getFullYear() + "年"str +2023-02-21JavaScript170