关于datetime-local与时间戳相互转化

   HTML5中的新对象Datetime Local可用于本地时间选择,是H5中很棒的新功能!在不考虑老版IE、FF的状况下能大大减小咱们的开发花销。html    如:<input type="datetime-local" id="timer" />app 1.可用Date对象的getTime()方法获取时间戳!函数 如: var oTimer = document.getElementBy
相关文章
相关标签/搜索