Add tags

Add tags to the following comment
JavaScriptのパーサを使用。Firebugで確認。
出力形式にあわせるとこんな入力になった。
toLocaleStringメソッドを使えば"2008年9月2日 8:50:34"のように出力するが、パーサが解釈してくれない。
>>> DateEx('Tue Sep 02 2008 8:30:00',1234)
"Tue Sep 02 2008 08:50:34 GMT+0900"
1
function DateEx(t,s) new Date(Date.parse(t)+s*1000).toString();

Add tags

The input will be splited to tags with space.

Index

Feed

Other

Link

Pathtraq

loading...