private static String generateTimestamp(){
  SimpleDateFormat sdf=new SimpleDateFormat("yyyy_MM_dd_HH_mm_ss_SSS",Locale.US);
  return sdf.format(new Date());
}

private static String generateTimestamp ( ) { SimpleDateFormat sdf = new SimpleDateFormat ( "yyyy_MM_dd_HH_mm_ss_SSS" , Locale . US ) ; return sdf . format ( new Date ( ) ) ; }
generate a string containing a formatted timestamp with the current date and time .
