IT_Programming/JavaScript
[스크랩] 시간포멧함수 ":"제거함수
JJun ™
2006. 10. 16. 21:26
function fn_GetTimeFormat(obj)
{
var date = "";
if(typeof(obj) == "object") date = obj.value;
else date = obj;
return date.replace(/\:/g,"");
}
{
var date = "";
if(typeof(obj) == "object") date = obj.value;
else date = obj;
return date.replace(/\:/g,"");
}
출처 : ▶ 一人を ために◀
글쓴이 : 앙알앙알 원글보기
메모 :