function timeConverter(UNIX_timestamp){
  var a = new Date(UNIX_timestamp * 1000);
  var months = ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'];
  var year = a.getFullYear();
  var month = months[a.getMonth()];
  var date = a.getDate();
  var hour = a.getHours();
  var min = a.getMinutes();
  var sec = a.getSeconds();
  var time = date + ' ' + month + ' ' + year;
  return time;
}
/*time funtion by: shomrat on stackoverflow*/
time funtion by: shomrat on stackoverflow
time funtion by : shomrat on stackoverflow
function timeConverter(UNIX_timestamp){
  var a = new Date(UNIX_timestamp * 1000);
  var months = ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'];
  var year = a.getFullYear();
  var month = months[a.getMonth()];
  var date = a.getDate();
  var hour = a.getHours();
  var min = a.getMinutes();
  var sec = a.getSeconds();
  var time = date + ' ' + month + ' ' + year;
  return time;
}
function timeConverter ( UNIX_timestamp ) { var a = new Date ( UNIX_timestamp * 1000 ) ; var months = [ 'Jan' , 'Feb' , 'Mar' , 'Apr' , 'May' , 'Jun' , 'Jul' , 'Aug' , 'Sep' , 'Oct' , 'Nov' , 'Dec' ] ; var year = a . getFullYear ( ) ; var month = months [ a . getMonth ( ) ] ; var date = a . getDate ( ) ; var hour = a . getHours ( ) ; var min = a . getMinutes ( ) ; var sec = a . getSeconds ( ) ; var time = date + ' ' + month + ' ' + year ; return time ; }
time funtion by: shomrat on stackoverflow
time funtion by : shomrat on stackoverflow