I believe that we have here seconds from midnight I'm right? So why just not create date object like that:
new Date(seconds * 1000);