开发者

Extjs-Adding seconds to timestamp

I have a form with timestamp field with 1 minute increment but i want seconds to be included to too. how to do it? is there a way to add seconds to timestamp? can someone help plea开发者_如何学JAVAse?


ExtJs has a very rich Date function. To get the seconds timestamp:

var seconds = (new Date()).format('U');
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜