摘要:
var input = document.getElementById("file"); //支持chrome IE10 if (window.FileReader) { var file = input.files[0]; var reader = new FileReader(); reader 阅读全文
摘要:
第一种: 如果是从数据库获取的时间(数据库中日期格式是乱的)可以在数据库取数据时 进行格式化 例如 ;TO_CHAR(SYSDATE,'YYYY-MM-DD') 第二种: 在数据库取出数据后可以在后台通过SimpleDateFormate格式化 例如: Date datetime = new Dat 阅读全文