public String time2UtcStr(long time){
  Date date=new Date(time);
  return (utcDateFormat.format(date));
}

public String time2UtcStr ( long time ) { Date date = new Date ( time ) ; return ( utcDateFormat . format ( date ) ) ; }
convert unix time to the utc format recognized by spice .
