Перевод даты
Если посмотреть исходник
http://www.onlineconversion.com/unix_time.htm, то там 2 простых функции :
Код:

function timeToHuman()
{
var theDate = new Date(document.u2h.timeStamp.value * 1000);
dateString = theDate.toGMTString();
document.u2h.result.value = dateString;
}
function humanToTime()
{
var humDate = new Date(Date.UTC(document.h2u.inYear.value,
(stripLeadingZeroes(document.h2u.inMon.value)-1),
stripLeadingZeroes(document.h2u.inDay.value),
stripLeadingZeroes(document.h2u.inHr.value),
stripLeadingZeroes(document.h2u.inMin.value),
stripLeadingZeroes(document.h2u.inSec.value)));
document.h2u.result.value = (humDate.getTime()/1000.0);
}