add getFullYear,getHours,getMinutes,getMonth,getSeconds to js file