var time = 1344578812000; //2012/8/10
var d = new Date(time);
alert(d.getFullYear()+"-"+(d.getMonth()+1)+"-"+d.getDate()+" "+d.getHours()+":"+d.getMinutes()+":"+d.getSeconds());
平平淡淡开开心心 |
|
||
Copyright © 2024 程序媛鼓励师
Powered by .NET 9.0 on Kubernetes |