转换时间戳,兼容webkit和IE
2024-09-05 07:03:07
var date="2018-6-6";
var test=Date.parse(date.replace(/-/g,"/"));
console.log(test)
最新文章
- thinkphp3.2跨控制器调用其他模块的方法
- SQL server同时删除多个表
- javaScript实现修改输入框之后标红
- link
- window.location 对象所包含的属性
- java string,需要进行首字母大写改写
- 要检测两个C文件的代码的抄袭情况
- echo,printr,print_r之间的区别
- IPC是什么意思?
- java 异常架构图
- 使用rpm安装mysql的默认目录
- ceph源码之一
- Java获取请求主机真实ip
- Javascript - ExtJs - XTemplate组件
- shell脚本中一些特殊变量
- PAT L2-015 互评成绩
- JQ获取选中select 标签的值
- RESTful Web Service实战 小结1
- UVa 10562 Undraw the Trees 看图写树
- ilbc编解码在android实现
热门文章
- Java 操作 HBase 教程
- linux驴杂记
- RabbitMQ (基础知识)
- 给jekyll博客添加天气插件
- shell编程基础一
- CF-1333F Kate and imperfection
- VJ train1 O-统计问题 题解
- Link/Cut Tree CodeForces - 614A 暴力+爆 long long 处理
- Codeforces Round #667 (Div. 3) C. Yet Another Array Restoration (数学)
- http post请求数组参数写法