Any method in javascript to convert seconds to date

Hi All ,

Do we have any method in javascript to convert seconds(1205209821) to the date and time format like DD.MM.YYYY HH.MM.SS . the seconds gives the time elapsed since reference (Jan 1st 1970.)

OR

Is there any other alternate for this …

Thanks in advance…

http://www.epochconverter.com/epoch/functions.php#javascript

i cant see ur response since that link is blocked in my office…

anyways thanks for ur response.

but i got the solution in the meanwhile and in the following way…

var curdate = new Date(null);
curdate.setTime(1205209821*1000);
alert(curdate.toLocaleString());

This is what i want and i got it…

Thanks
Durga prasad.