linux下数据库实例开机自启动设置 1.改动/oratab [root@org54 ~]# vi/etc/oratab --把N改为Y,例如以下提示 # This file is used by ORACLEutilities. It is created by root.sh # and updated by the Database ConfigurationAssistant when creating # a database. # A colon, ':', is used
function getDate (yyyy, MM, dd) { let t = new Date() t.setFullYear(yyyy) t.setMonth(Number(MM) - 1) t.setDate(dd) return t } new Date(param) 设置时间格式 1.当param为字段串时:“yyyy-MM-dd”.“yyyy/MM/dd” MM应该为设置的月份 即当设置为2018年9月20号时应该为 new Date('2018-09-20') 2.当param