javascript 怎么截取时分秒JavaScript的Date对象就可以获取时分秒。如:var date=new Date()date.getHours()小时date.getMinutes()分date.getSeconds()秒date.getMilli2023-03-21JavaScript200